Function cargo::ops::tree::graph::add_cli_features

source ·
fn add_cli_features(
    graph: &mut Graph<'_>,
    package_index: usize,
    cli_features: &CliFeatures,
    feature_map: &FeatureMap
)
Expand description

Adds nodes for features requested on the command-line for the given member.

Feature nodes are added as “roots” (i.e., they have no “from” index), because they come from the outside world. They usually only appear with --invert.