cargo tree
Display a tree visualization of a dependency graph
Options
Name | Description |
---|---|
--manifest-path <manifest-path> | Path to Cargo.toml |
-p, --package <package...> |
|
--exclude <exclude> |
|
--features <features...> |
|
--target <target> |
|
-e, --edges <edges> |
|
-i, --invert <invert...> |
|
--prune <prune> |
|
--depth <depth> | Maximum display depth of the dependency tree |
--prefix <prefix> | Change the prefix (indentation) of how each entry is displayed |
--charset <charset> | Character set to use in output: utf8, ascii |
-f, --format <format> | Format string used for printing dependencies |
--color <color> | Coloring: auto, always, never |
--config <config> |
|
-Z <unstable-features> |
|
-q, --quiet | Do not print cargo log messages |
--workspace | Display the tree for all packages in the workspace |
-a, --all | |
--all-targets | |
--all-features | Activate all available features |
--no-default-features | Do not activate the `default` feature |
--no-dev-dependencies | |
--no-indent | |
--prefix-depth | |
--no-dedupe | Do not de-duplicate (repeats all shared dependencies) |
-d, --duplicates | Show only dependencies which come in multiple versions (implies -i) |
-V, --version | |
-h, --help | Print help information |
-v, --verbose |
|
--frozen | Require Cargo.lock and cache are up to date |
--locked | Require Cargo.lock is up to date |
--offline | Run without accessing the network |