A cargo
subcommand for building Graphviz DOT files of dependency graphs between the modules of a package.
cargo-graphmod
can be installed with cargo install
:
ignore
cargo install cargo-graphmod
ignore
cd my_rust_package
cargo graphmod | tred | dot -Tsvg > modules.svg
tred
if you want the transitive reduction of the graph.use
keyword.cargo-graphmod
is released under the terms of the GPLv3 license.