cargo::ops::tree

Module 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ยง

  • add_cli_features ๐Ÿ”’
    Adds nodes for features requested on the command-line for the given member.
  • add_feature ๐Ÿ”’
    Adds a feature node between two nodes.
  • add_feature_rec ๐Ÿ”’
    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.