Dependency audit#413
Open
teunbrand wants to merge 3 commits intoposit-dev:mainfrom
Open
Conversation
Systematic audit of all 42 external dependencies across the five workspace Cargo.toml files, documenting why each is used, transitive dep counts, unique deps, enabled vs available features, and whether all enabled features are needed. Identifies several actionable savings (unused deps, unnecessary feature flags). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Prioritised list of actionable findings from the workspace dependency audit, ordered by effort-to-impact ratio. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove `proptest` (unused dev-dep), `tokio-test` (unused dev-dep), `csv` (unused dep in ggsql-wasm) - Remove placeholder deps with no implementation: `postgres`, `plotters`, `ggplot2` feature flags - Disable `prompt` on `odbc-api` (drops ~55 winit deps) - Disable `resolve-http` on `jsonschema` (drops ~30 reqwest/rustls deps) - Disable `named_from_str` on `palette` (drops phf v0.11 family) - Remove unused `functions`/`window` features from `rusqlite` - Remove unused `ipc` feature from `arrow` and empty `ipc` feature flag Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
georgestagg
reviewed
May 1, 2026
Collaborator
There was a problem hiding this comment.
I don't think we should commit these .md files.
georgestagg
reviewed
May 1, 2026
Collaborator
There was a problem hiding this comment.
I don't think we should commit these .md files.
georgestagg
approved these changes
May 1, 2026
Collaborator
georgestagg
left a comment
There was a problem hiding this comment.
Other than the committed .md files, LGTM!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I had claude do a little audit, write down a table of dependencies here with some findings.
This was then distilled down to a few recommendations listed here.
Then had it implement its recommendations.
Transitive dependencies go from 591 to 432.
I plan on reverting 43492f3 and 95283dd, but they are here now for your perusal so you can follow along.