Section: Inspection and troubleshooting

Inspect feature activation

bash
bash
cargo tree -e features
Explanation

Useful when debugging why a feature got enabled.

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 Inspection and troubleshooting
Show the dependency tree
Inspect the dependency graph for the package.
OpenIn sheetbashsame section
See reverse dependencies
Show what depends on a specific crate.
OpenIn sheetbashsame section
Generate or refresh Cargo.lock
Create a lockfile without building.
OpenIn sheetbashsame section
Update dependency lockfile
Refresh locked dependency versions.
OpenIn sheetbashsame section
Create project-local Cargo config
Store configuration in the project under `.cargo/config.toml`.
OpenIn sheettoml1 tag match
Enable Cargo debug logging
Emit tracing logs from Cargo itself.
OpenIn sheetbash1 tag match