kbknapp / cargo-graph

A cargo subcommand for creating GraphViz DOT files and dependency graphs
BSD 3-Clause "New" or "Revised" License
216 stars 16 forks source link

Differentiate dependencies by source #37

Open sanmai-NL opened 7 years ago

sanmai-NL commented 7 years ago

To explore the structure of larger projects, e.g. in workspaces, it is helpful to be able to visually distinguish ‘external’ dependencies (e.g. crates.io crates) and in-house dependencies. There seems to be no feature to do this in v0.3.0.

przygienda commented 6 years ago

agreed, struggling with same problem, you don't even want to see my graph ;-)

simplest would be something taking a filter regex file for packages e.g. and option for anything that is not in Cargo.toml (pulled in by packages in Cargo.toml indirectly) to be excluded.

Tool is great.

Boscop commented 5 years ago

It should be possible to only include crates in the generated graph that are members of the current workspace. Is it already possible? If not, a flag for this should be added.