add_feature_rec in cargo::ops::tree::graph - Rust
Description: Recursively add feature nodes for all features enabled by the given feature.

Skip to main content

## add_feature_rec

# Function add_feature_rec

Source

    fn add_feature_rec(
        graph: &mut Graph<'_>,
        resolve: &Resolve,
        feature_name: InternedString,
        package_id: PackageId,
        from: NodeId,
        package_index: NodeId,
    )

Expand description

Recursively add feature nodes for all features enabled by the given feature.

`from` is the index of the node that enables this feature. `package_index` is the index of the package node for the feature.