Module guppy::graph

source · []
Expand description

Entry point for analyzing Cargo dependency graphs.

The main entry point for analyzing graphs is PackageGraph. See its documentation for more details.

Modules

Simulations of Cargo behavior.

Graph analysis for individual features within a package.

summariessummaries

Generate build summaries from CargoSet instances.

Structs

A build target in a package.

Contains information about dependency cycles.

Information about a specific kind of dependency (normal, build or dev) from a package to another package.

An optional cache used to speed up depends_on queries.

A write target for Dot graphs. Use with the write! macro.

Whether a dependency or feature is required, optional, or disabled.

A graph of packages and dependencies between them, parsed from metadata returned by cargo metadata.

Represents a dependency from one package to another.

Information about a specific package in a PackageGraph.

A query over a package graph.

A set of resolved packages in a package graph.

A randomly generated package resolver.

Information about a workspace, parsed from metadata returned by cargo metadata.

Enums

An identifier for a build target within a package.

The type of build target (library or binary).

The direction in which to follow dependencies.

More information about an external source.

A Cargo.toml specification for a Git branch, tag, or revision.

Locations that a package can be published to.

The source of a package.

Traits

A visitor used for formatting dot graphs.

Represents whether a particular link within a package graph should be followed during a resolve operation.