cargo-depgraph

Creates dependency graphs for cargo projects using cargo metadata and graphviz.

Installation

cargo install cargo-depgraph

Usage

cargo depgraph [options] | dot -Tpng > graph.png

The full list of options can be seen by running

cargo depgraph --help

Commonly useful options:

cargo-depgraph's dependency graph

cargo-depgraph's dependency graph with transitive dependency edges de-duplicated

Output explanation