#cargo #graph #interactive #visualize

app cargo-visualize

Interactive cargo dependency graph visualization

2 releases (1 stable)

new 2.0.0 Mar 11, 2025

#32 in Visualization

GPL-3.0-or-later

77KB
1.5K SLoC

Rust 1K SLoC // 0.1% comments TypeScript 536 SLoC // 0.0% comments JavaScript 8 SLoC

cargo-visualize

Know your dependencies via interactive cargo dependency graph visualization.

Installation

See installation instructions

Usage

cargo visualize [options]

The full list of options can be seen by running

cargo visualize --help

Commonly useful options:

  • --all-deps
  • --all-deps --dedup-transitive-deps

Output explanation

  • Cyan background = root / workspace member
  • Grey background = target-specific dependency
  • Green background = optional dependency
  • Dark Green background = optional target-specific dependency
  • Dotted lines = optional dependency (could be removed by disabling a cargo feature)
  • Dashed lines = transitively optional dependency (could be removed by removing one of the dotted edges)

Dependencies

~12–21MB
~275K SLoC