Function cargo::ops::tree::graph::add_feature_rec

source ·
fn add_feature_rec(
    graph: &mut Graph<'_>,
    resolve: &Resolve,
    feature_name: InternedString,
    package_id: PackageId,
    from: usize,
    package_index: usize
)
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.