collect packages with --all-features

This commit is contained in:
Arpad Borsos 2020-09-28 11:44:06 +02:00
parent 99970e092c
commit 8902a8fc6c
1 changed files with 1 additions and 1 deletions

View File

@ -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 }));
}