Show features involved in dependency resolution.

Section: Dependency and feature inspection

Inspect activated features

bash
bash
cargo tree -e features
Explanation

Helps explain why optional code paths are compiling or why a dependency appears heavier than expected.

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
Print the dependency tree
Show the package dependency graph.
OpenIn sheetbashsame section
Show reverse dependencies
Find what depends on a given crate.
OpenIn sheetbashsame section
Find duplicate crate versions
List repeated dependencies that may bloat builds.
OpenIn sheetbashsame section
Refresh the lockfile
Update dependencies allowed by version requirements.
OpenIn sheetbashsame section
Pin one dependency precisely
Update a selected crate to one specific version.
OpenIn sheetbashsame section
Generate Cargo.lock
Create or refresh the lockfile explicitly.
OpenIn sheetbashsame section