Home
last modified time | relevance | path

Searched refs:crate (Results 1 – 2 of 2) sorted by relevance

/development/scripts/
Dget_rust_pkg.py189 for crate in data["dependencies"]:
190 if not crate["optional"]: # some package has a lot of optional features
192 dev_deps.add(crate["crate_id"])
193 if crate["kind"] != "dev":
194 build_deps.add(crate["crate_id"])
Dcargo2android.py154 def get_module_name(crate): # to sort crates in a list argument
155 return crate.module_name
1359 for crate in self.crates:
1360 crate.dump()
1380 def add_crate(self, crate): argument
1382 if crate.skip_crate():
1384 self.crates.append(crate)
1386 if (is_dependent_file_path(crate.main_src) and
1387 not is_build_crate_name(crate.crate_name)):
1388 self.dependencies.append(crate)
[all …]