cargo tree
all
Display a tree visualization of a dependency graph. Note: In the tree, dependencies of packages marked with `(*)` have already been shown elsewhere in the graph, and so are not repeated.
More info →Options (1)
-e, --edgesbooleanOnly show normal/build/development dependencies
Example:
cargo tree {{[-e|--edges]}} {{normal|build|dev}}Examples (5)
Show a dependency tree of the current project
Only show dependencies up to the specified depth (e.g. when `n` is 1, display only direct dependencies)
cargo tree --depth nDo not display the given package (and its dependencies) in the tree
cargo tree --prune package_specShow all occurrences of repeated dependencies
cargo tree --no-dedupeOnly show normal/build/development dependencies
cargo tree [-e|--edges] normal|build|devmade by @shridhargupta | data from tldr-pages