List repeated dependencies that may bloat builds.
Section: Dependency and feature inspection
Find duplicate crate versions
bash
bash
cargo tree -dExplanation
Duplicate versions are common when features or version requirements drift apart across the graph.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Dependency and feature inspection
Inspect activated features
Show features involved in dependency resolution.
Refresh the lockfile
Update dependencies allowed by version requirements.
Pin one dependency precisely
Update a selected crate to one specific version.