Searched refs:cargo_toml (Results 1 – 3 of 3) sorted by relevance
/development/tools/external_crates/crate_health/src/ |
D | crate_type.rs | 75 pub fn from<P: Into<PathBuf>>(cargo_toml: &impl AsRef<Path>, root: P) -> Result<Crate> { in from() 77 let manifest_dir = cargo_toml.as_ref().parent().ok_or(anyhow!( in from() 79 cargo_toml.as_ref().display() in from() 84 read_manifest(cargo_toml.as_ref(), source_id, &Config::default()?)?; in from() 88 Err(anyhow!(CrateError::VirtualCrate(cargo_toml.as_ref().to_path_buf()))) in from() 298 let cargo_toml: PathBuf = [temp_crate_dir, &Path::new("Cargo.toml")].iter().collect(); in write_test_manifest() localVariable 300 cargo_toml.as_path(), in write_test_manifest() 306 Ok(cargo_toml) in write_test_manifest() 312 let cargo_toml = write_test_manifest(temp_crate_dir.path(), "foo", "1.2.0")?; in test_from_and_properties() localVariable 313 let krate = Crate::from(&cargo_toml, &"/")?; in test_from_and_properties() [all …]
|
D | pseudo_crate.rs | 78 let cargo_toml = self.path.join(&"Cargo.toml").abs(); in init() localVariable 79 write(&cargo_toml, tt.render("cargo_toml", &CargoToml { deps })?)?; in init()
|
/development/scripts/ |
D | cargo2rulesmk.py | 826 cargo_toml = "./Cargo.toml" 834 if not os.access(cargo_toml, os.R_OK): 835 print("ERROR: Cannot find or read", cargo_toml) 851 with open(cargo_toml, "r", encoding="utf-8") as in_file: 857 with open(cargo_toml, "a", encoding="utf-8") as out_file: 890 with open(cargo_toml, "w", encoding="utf-8") as out_file:
|