# Function cargo::core::summary::build_feature_map

source ·

    fn build_feature_map(
        config: &Config,
        pkg_id: PackageId,
        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.