Crates.io | cargo-depgraph |
lib.rs | cargo-depgraph |
version | 1.6.0 |
source | src |
created_at | 2020-07-09 18:47:51.390494 |
updated_at | 2023-12-07 17:35:58.334059 |
description | Creates dependency graphs for cargo projects using `cargo metadata` and graphviz. |
homepage | https://sr.ht/~jplatte/cargo-depgraph/ |
repository | https://git.sr.ht/~jplatte/cargo-depgraph |
max_upload_size | |
id | 262958 |
size | 82,868 |
Creates dependency graphs for cargo projects using cargo metadata
and graphviz.
cargo install cargo-depgraph
If you are using Arch Linux, you can alternatively install via pacman -S cargo-depgraph
.
Note: This assumes you have Graphviz installed. There are also online
tools that can generate graphics from the textual graphviz graphs cargo depgraph
generates, if
the command-line graphviz tools like dot
aren't your thing.
cargo depgraph [options] | dot -Tpng > graph.png
The full list of options can be seen by running
cargo depgraph --help
Commonly useful options:
--all-deps
--all-deps --dedup-transitive-deps