Claude Code Cargo Dependency Skill for Auditing Default Features
Trace how features are enabled in the Tantivy dependency graph and test a narrower declaration in the pinned workspace.
中文Install in Claude Code
Use the pinned Tantivy checkout and its Rust toolchain. Its workspace manifest is the root `Cargo.toml`.
- Open the pinned repository checkout and confirm `.claude/skills/rationalize-deps/SKILL.md` is present.
- Start Claude Code in the repository root and call `/rationalize-deps` with the work and its verification goal.
Example task
Audit `serde` in the Tantivy graph. Trace the origin of `derive` and `std`, then try one scoped dependency declaration change if appropriate.What to check
Report the old and trial settings, the graph edges that enable required features, and the workspace check and test-build results.
Original SKILL.md on GitHub · Updated
Frequently asked question
Why can a feature stay active after one manifest entry changes?
Cargo combines the feature requests made by dependencies. Inspect other paths in the feature graph to find the remaining requester.