Searched refs:crate (Results 1 – 2 of 2) sorted by relevance
189 for crate in data["dependencies"]:190 if not crate["optional"]: # some package has a lot of optional features192 dev_deps.add(crate["crate_id"])193 if crate["kind"] != "dev":194 build_deps.add(crate["crate_id"])
154 def get_module_name(crate): # to sort crates in a list argument155 return crate.module_name1359 for crate in self.crates:1360 crate.dump()1380 def add_crate(self, crate): argument1382 if crate.skip_crate():1384 self.crates.append(crate)1386 if (is_dependent_file_path(crate.main_src) and1387 not is_build_crate_name(crate.crate_name)):1388 self.dependencies.append(crate)[all …]