Module cargo::ops::tree::graph

source ·
Expand description

Code for building the graph used by cargo tree.

Structs

  • Edges 🔒
    Set of outgoing edges for a single node.
  • A graph of dependencies.

Enums

  • The kind of edge, for separating dependencies into different sections.

Functions

  • Adds nodes for features requested on the command-line for the given member.
  • Adds a feature node between two nodes.
  • Recursively add feature nodes for all features enabled by the given feature.
  • Recursively adds connections between features in the [features] table for every package.
  • add_pkg 🔒
    Adds a single package node (if it does not already exist).
  • Builds the graph.