Lines Matching refs:Some

66         if let Some(target) = &self.target {  in enabled()
160 Some("x86_64-unknown-linux-gnu".to_string()) in parse_cargo_metadata()
168 version: Some(package.version.to_owned()), in parse_cargo_metadata()
192 version: Some(package.version.to_owned()), in parse_cargo_metadata()
230 && dependency.kind.as_deref() != Some("build") in get_externs()
233 Some(make_extern(packages, dependency)) in get_externs()
261 let Some(package) = packages.iter().find(|package| package.name == dependency.name) else { in make_extern() localVariable
264 let Some(target) = package.targets.iter().find(|target| { in make_extern() localVariable
271 if let Some(rename) = &dependency.rename { rename.clone() } else { lib_name.clone() }; in make_extern()
293 let Some(stripped) = id.strip_prefix(PREFIX) else { in package_dir_from_id() localVariable
296 let Some(idx) = stripped.rfind(SEPARATOR) else { in package_dir_from_id() localVariable
327 if let Some(chosen_features) = chosen_features { in resolve_features()
352 if let Some(dependencies) = package_features.get(feature) { in add_feature_and_dependencies()
354 if let Some((dependency_package, _)) = dependency.split_once('/') { in add_feature_and_dependencies()
399 resolve_features(&Some(chosen), &package_features, &[]), in resolve_multi_level_feature_dependencies()
468 target: Some("cfg(unix)".to_string()), in get_externs_cfg()
475 target: Some("cfg(windows)".to_string()), in get_externs_cfg()
539 target: Some("cfg(foo)".to_string()), in get_externs_extra_cfg()
546 target: Some("cfg(bar)".to_string()), in get_externs_extra_cfg()
595 rename: Some("foo2".to_string()), in get_externs_rename()
609 rename: Some("baz".to_string()), in get_externs_rename()
677 if let Some(idx) = package_dir.find(EXTERNAL_RUST_CRATES) { in parse_metadata()