mirror of
				https://github.com/Swatinem/rust-cache.git
				synced 2025-10-31 23:23:49 +00:00 
			
		
		
		
	collect packages with --all-features
This commit is contained in:
		
							parent
							
								
									99970e092c
								
							
						
					
					
						commit
						8902a8fc6c
					
				| @ -64,7 +64,7 @@ interface PackageDefinition { | ||||
| type Packages = Array<PackageDefinition>; | ||||
| 
 | ||||
| async function getPackages(): Promise<Packages> { | ||||
|   const meta = JSON.parse(await getCmdOutput("cargo", ["metadata", "--format-version", "1"])); | ||||
|   const meta = JSON.parse(await getCmdOutput("cargo", ["metadata", "--all-features", "--format-version", "1"])); | ||||
|   return meta.packages.map(({ name, version }: any) => ({ name, version })); | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user