Home
last modified time | relevance | path

Searched refs:crates (Results 1 – 17 of 17) sorted by relevance

/development/tools/external_crates/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
14 source = "registry+https://github.com/rust-lang/crates.io-index"
27 source = "registry+https://github.com/rust-lang/crates.io-index"
36 source = "registry+https://github.com/rust-lang/crates.io-index"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
56 source = "registry+https://github.com/rust-lang/crates.io-index"
65 source = "registry+https://github.com/rust-lang/crates.io-index"
74 source = "registry+https://github.com/rust-lang/crates.io-index"
84 source = "registry+https://github.com/rust-lang/crates.io-index"
90 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/development/tools/cargo_embargo/testdata/either/
Dcargo.metadata24 "source": "registry+https://github.com/rust-lang/crates.io-index",
36 "source": "registry+https://github.com/rust-lang/crates.io-index",
54 … "id": "path+file:///usr/local/google/home/mgeisler/src/aosp/external/rust/crates/either#1.9.0",
62 …"manifest_path": "/usr/local/google/home/mgeisler/src/aosp/external/rust/crates/either/Cargo.toml",
78 "readme": "README-crates.io.md",
94 … "src_path": "/usr/local/google/home/mgeisler/src/aosp/external/rust/crates/either/src/lib.rs",
119 "source": "registry+https://github.com/rust-lang/crates.io-index",
133 "id": "registry+https://github.com/rust-lang/crates.io-index#itoa@1.0.11",
140 …"manifest_path": "/usr/local/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15…
158 "source": "registry+https://github.com/rust-lang/crates.io-index",
[all …]
/development/tools/cargo_embargo/testdata/plotters/
Dcargo.metadata21 "source": "registry+https://github.com/rust-lang/crates.io-index",
33 "source": "registry+https://github.com/rust-lang/crates.io-index",
45 "source": "registry+https://github.com/rust-lang/crates.io-index",
70 "id": "registry+https://github.com/rust-lang/crates.io-index#adler@1.0.2",
81 …"manifest_path": "/usr/local/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15…
118 "source": "registry+https://github.com/rust-lang/crates.io-index",
131 …"src_path": "/usr/local/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/…
145 …"src_path": "/usr/local/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/…
168 "source": "registry+https://github.com/rust-lang/crates.io-index",
180 "source": "registry+https://github.com/rust-lang/crates.io-index",
[all …]
/development/tools/cargo_embargo/testdata/async-trait/
Dcargo.metadata22 "source": "registry+https://github.com/rust-lang/crates.io-index",
34 "source": "registry+https://github.com/rust-lang/crates.io-index",
49 "source": "registry+https://github.com/rust-lang/crates.io-index",
61 "source": "registry+https://github.com/rust-lang/crates.io-index",
73 "source": "registry+https://github.com/rust-lang/crates.io-index",
85 "source": "registry+https://github.com/rust-lang/crates.io-index",
97 "source": "registry+https://github.com/rust-lang/crates.io-index",
111 "source": "registry+https://github.com/rust-lang/crates.io-index",
121 …"id": "path+file:///usr/local/google/home/mgeisler/src/aosp/external/rust/crates/async-trait#0.1.7…
128 …"manifest_path": "/usr/local/google/home/mgeisler/src/aosp/external/rust/crates/async-trait/Cargo.…
[all …]
/development/tools/cargo_embargo/testdata/rustc-demangle-capi/
Dcargo.metadata19 "source": "registry+https://github.com/rust-lang/crates.io-index",
31 "source": "registry+https://github.com/rust-lang/crates.io-index",
53 "id": "registry+https://github.com/rust-lang/crates.io-index#rustc-demangle@0.1.23",
58 …"manifest_path": "/usr/local/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15…
77 "source": "registry+https://github.com/rust-lang/crates.io-index",
90 …"src_path": "/usr/local/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/…
111 "source": "registry+https://github.com/rust-lang/crates.io-index",
121 …"id": "path+file:///usr/local/google/home/mgeisler/src/aosp/external/rust/crates/rustc-demangle-ca…
126 …"manifest_path": "/usr/local/google/home/mgeisler/src/aosp/external/rust/crates/rustc-demangle-cap…
146 …"src_path": "/usr/local/google/home/mgeisler/src/aosp/external/rust/crates/rustc-demangle-capi/src…
[all …]
/development/tools/cargo_embargo/testdata/aho-corasick/
Dcargo.metadata21 "source": "registry+https://github.com/rust-lang/crates.io-index",
38 …"id": "path+file:///usr/local/google/home/mgeisler/src/aosp/external/rust/crates/aho-corasick#0.7.…
49 …"manifest_path": "/usr/local/google/home/mgeisler/src/aosp/external/rust/crates/aho-corasick/Cargo…
69 …"src_path": "/usr/local/google/home/mgeisler/src/aosp/external/rust/crates/aho-corasick/src/lib.rs…
91 "source": "registry+https://github.com/rust-lang/crates.io-index",
103 "source": "registry+https://github.com/rust-lang/crates.io-index",
115 "source": "registry+https://github.com/rust-lang/crates.io-index",
127 "source": "registry+https://github.com/rust-lang/crates.io-index",
162 "id": "registry+https://github.com/rust-lang/crates.io-index#memchr@2.7.2",
173 …"manifest_path": "/usr/local/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15…
[all …]
/development/tools/external_crates/crate_health/src/
Dcrate_collection.rs35 crates: BTreeMap<NameAndVersion, Crate>, field
41 CrateCollection { crates: BTreeMap::new(), repo_root: repo_root.into() } in new()
48 Ok(krate) => self.crates.insert_or_error( in add_from()
65 for krate in self.crates.values() { in print()
71 for krate in self.crates.values() { in stage_crates()
77 for (nv, output) in generate_android_bps(self.crates.values())?.into_iter() { in generate_android_bps()
78 self.crates in generate_android_bps()
86 for krate in self.crates.values_mut() { in diff_android_bps()
Dreports.rs77 pub fn table<'a>(&self, crates: impl Iterator<Item = &'a Crate>) -> Result<String> { in table()
79 for krate in crates { in table()
90 pub fn health_table<'a>(&self, crates: impl Iterator<Item = &'a Crate>) -> Result<String> { in health_table()
102 for krate in crates { in health_table()
161 crates: impl Iterator<Item = &'a Crate>, in migration_ineligible_table()
173 for krate in crates { in migration_ineligible_table()
Dpseudo_crate.rs50 crates: impl Iterator<Item = &'a (impl NamedAndVersioned + 'a)>, in init()
58 for krate in crates { in init()
Dandroid_bp.rs30 crates: T, in generate_android_bps()
36 for krate in crates { in generate_android_bps()
/development/tools/cargo_embargo/src/
Dmain.rs154 crates: PathBuf,
175 Mode::DumpCrates { config, crates } => { in main()
176 dump_crates(&args, config, crates, intermediates_dir)?; in main()
198 let crates = make_all_crates(args, &cfg, intermediates_dir)?; in dump_crates() localVariable
202 &crates, in dump_crates()
338 let crates = make_all_crates(args, &cfg, intermediates_dir)?; in run_embargo() localVariable
373 if crates_no_cargo == crates { in run_embargo()
378 write_all_build_files(&cfg, crates, &package_out_files) in run_embargo()
384 fn group_by_package(crates: Vec<Vec<Crate>>) -> BTreeMap<PathBuf, Vec<Vec<Crate>>> { in group_by_package()
387 let num_variants = crates.len(); in group_by_package()
[all …]
/development/tools/cargo_embargo/testdata/
DREADME.md16 pushd $ANDROID_BUILD_TOP/external/rust/crates/$crate
30 - `crates.json`: Adjust version numbers and `package_dir` as necessary.
/development/tools/external_crates/crate_health/src/templates/
Dsize_report.html.template2 <li>{num_crates} crates</li>
/development/tools/cargo_embargo/src/cargo/
Dmetadata.rs119 let mut crates = Vec::new(); in parse_cargo_metadata() localVariable
165 crates.push(Crate { in parse_cargo_metadata()
189 crates.push(Crate { in parse_cargo_metadata()
213 Ok(crates) in parse_cargo_metadata()
701 .map(|crates: Vec<Crate>| crates.into_iter().map(normalize_package_dir).collect()) in parse_metadata()
704 let crates = cfg in parse_metadata() localVariable
Dcargo_out.rs59 let mut crates = Vec::new(); in parse_cargo_out_str() localVariable
71 crates.push(c); in parse_cargo_out_str()
73 crates.dedup(); in parse_cargo_out_str()
74 Ok(crates) in parse_cargo_out_str()
/development/scripts/
Dcargo2rulesmk.py690 self.crates: List[Crate] = []
963 self.crates.sort(key=get_module_name)
964 for crate in self.crates:
978 self.crates.append(crate)
982 self.crates.append(crate)
990 for c in self.crates:
1002 for c in self.crates:
1051 c.main_src for c in self.crates if c.crate_types != ["test"]
/development/tools/cargo_embargo/
DREADME.md3 `cargo_embargo` is a tool to generate `Android.bp` files automatically for external Rust crates
12 packages, and have one or more variants. All packages under `external/rust/crates` use a separate
72 … | When workspace is enabled, list of `--exclude` crates. …