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 information: https://doc.rust-lang.org/cargo/commands/cargo-tree.html.
cargo tree
n is 1, display only direct dependencies):cargo tree --depth {{n}}
cargo tree --prune {{package_spec}}
cargo tree --no-dedupe
cargo tree --edges {{normal|build|dev}}