Crate cargo_deps

Source
Expand description

This library is the backend for the cargo-deps command-line program, containing the actual logic.

This library provides the following functionality:

  • Getting the dependency graph of a crate in its full intermediate representation.
  • Getting the final graphviz representation of a crate’s dependencies.

Structs§

Config
Configuration options.

Enums§

Error
Error type for the crate.

Functions§

get_dep_graph
Gets the full representation of the dependency graph, without converting it to graphviz output.
render_dep_graph
Converts the dependency graph representation into a graphviz string.

Type Aliases§

Result
Result type for the crate.