Function cargo::core::summary::build_feature_map

source ยท
fn build_feature_map(
    features: &BTreeMap<InternedString, Vec<InternedString>>,
    dependencies: &[Dependency],
) -> CargoResult<FeatureMap>
Expand description

Checks features for errors, bailing out a CargoResult:Err if invalid, and creates FeatureValues for each feature.