Searched refs:package_features (Results 1 – 1 of 1) sorted by relevance
/development/tools/cargo_embargo/src/cargo/ |
D | metadata.rs | 314 package_features: &BTreeMap<String, Vec<String>>, in resolve_features() 317 let mut package_features = package_features.to_owned(); in resolve_features() localVariable 320 if dependency.optional && !package_features.contains_key(&dependency.name) { in resolve_features() 321 package_features in resolve_features() 329 add_feature_and_dependencies(&mut features, feature, &package_features); in resolve_features() 333 add_feature_and_dependencies(&mut features, "default", &package_features); in resolve_features() 346 package_features: &BTreeMap<String, Vec<String>>, in add_feature_and_dependencies() 348 if package_features.contains_key(feature) || feature.starts_with("dep:") { in add_feature_and_dependencies() 352 if let Some(dependencies) = package_features.get(feature) { in add_feature_and_dependencies() 355 add_feature_and_dependencies(features, dependency_package, package_features); in add_feature_and_dependencies() [all …]
|