app cargo-vistree

cargo extension for visualize dependencies

2 releases

0.1.2 Oct 29, 2023
0.1.0 Oct 29, 2023

#432 in Cargo plugins

Apache-2.0

20KB

cargo-vistree

Actions Status dependency status Crates.io

cargo-vistree is a cargo-tree like cargo extension for graphical visualization of dependecy tree.

Usage:

cargo vistree -o Cargo.dot && dot -Tsvg Cargo.dot -o Cargo.svg

Output of cargo modules generate tree …

Installation:

cargo install cargo-vistree

Install graphviz:

$ brew install graphviz
OR
$ sudo apt -y install graphviz

KEEP YOUR DEPENDENCIES FRESH AND CLEAN!

I would like to mention here awesome utils:

  • machete [remove unused deps: fast analyze source code]
  • udeps [remove unused deps: more accurately, slower]
  • dependabot [update deps]
  • deny [linter for deps]

Dependencies

~6.5MB
~108K SLoC