cargo-depgraph
cargo-depgraph copied to clipboard
Creates graphviz dependency graphs for Rust projects that use Cargo
Useful for medium to large projects.
This should not be the case.
Imported from sourcehut todos, originally reported by @vberger. Tested on Smithay master (commit 25365ed69abbff56a9b188a37b9cd2469e2bc642). Comparing: - running `cargo depgraph --all-deps --exclude anvil --no-default-features` on the bare repo - removing the...
The default colors and styles might not be suitable for everything, and building in support for customization shouldn't be that hard. As a workaround until this exists, one can already...
… on optional dependency edges. With graphviz's png renderer and dot layouting, this will probably not look good, but maybe it works for other layouts.
… on target-specific dependency edges. With graphviz's png renderer and dot layouting, this will probably not look good, but maybe it works for other layouts.
It was removed in 1157148 because it didn't actually work. Note: a normal dependency of a build dependency should be shown with `--build-deps --no-normal-deps`. A dependency that is both a...
At first, probably just adding a version to all crates of the same name, if there are multiple. Later, crates could be disambiguated fully, adding even more info depending on...
TBD: * Will there be a subgraph for the workspace members by default (could be named after the parent directory for example) * What about multiple subgraphs? * In general,...
TBD: * Should it be possible to use a non-workspace crate as a root? (dev-dependencies couldn't be shown, but otherwise should not be a problem to implement) * What should...