Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 875 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 875 Bytes

Dependency analyzer

A simple CLI tool for visualizing dependencies within projects currently in development.

It relies on Graphviz.

Installation

  1. Install graphviz
  2. Build from source code:
cargo build --release

Usage

depy -p ../path/to/Cargo.toml > ~/Downloads/output.svg

A great feature of the tool is picking the start of the graph (or the top-most element). In complex workspaces, usually, an explosion of dependencies can happen and usually a developer is mostly concerned about a single, or a couple of packages. To do that one can do the following:

depy -p ../path/to/Cargo.toml -t name-of-top-level-target > ~/Downloads/output.svg

One can use the -t flag multiple times to add more targets to the output.

To visualize the output one can use a browser.