CmdID

CmdID / Commands

cargo-tree

Display a tree visualization of a dependency graph. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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.

Show a dependency tree of the current project

cargo treeIdentify

Only show dependencies up to the specified depth (e.g. when n is 1, display only direct dependencies)

cargo tree --depth nIdentify

Do not display the given package (and its dependencies) in the tree

cargo tree --prune package_specIdentify

Show all occurrences of repeated dependencies

cargo tree --no-dedupeIdentify

Only show normal/build/development dependencies

cargo tree --edges normalIdentify