Skip to main content

Module graph

Module graph 

Source
Expand description

Workspace package graph and dependency queries.

Structs§

Dependencies
A package’s direct and transitive dependencies, with one route to each.
LinkKinds
The dependency sections a link appears in, displayed as normal+dev.
Route
A chain of package links, displayed as a -[normal]-> b -[build]-> c.
Workspace
The package graph of a Cargo workspace.

Enums§

Links
Dependency kinds included by Dependencies, without feature or platform filtering.

Functions§

direct_links_to_target_or_its_dependents
Returns direct links of any kind from from to target or to packages that depend on target through Links::AsDependency.