Skip to content

Simple tool for drawing dependency graphs from various types of workspaces

Notifications You must be signed in to change notification settings

NikolaMilosa/depy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple tool for drawing dependency graphs from various types of workspaces

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages