From 7cfa07196b9bb83c4b8e00863ee42d80c11df349 Mon Sep 17 00:00:00 2001 From: Andrei Hava Date: Wed, 17 Jan 2024 19:52:21 +0200 Subject: [PATCH] Add --no-default-features Signed-off-by: Andrei Hava --- packages/rust/src/executors/build/schema.json | 5 +++++ packages/rust/src/executors/run/schema.json | 5 +++++ packages/rust/src/executors/test/schema.json | 5 +++++ packages/rust/src/models/base-options.d.ts | 1 + 4 files changed, 16 insertions(+) diff --git a/packages/rust/src/executors/build/schema.json b/packages/rust/src/executors/build/schema.json index 0695457..399fb2c 100644 --- a/packages/rust/src/executors/build/schema.json +++ b/packages/rust/src/executors/build/schema.json @@ -47,6 +47,11 @@ "default": false, "description": "Build all binary targets" }, + "no-default-features": { + "type": "boolean", + "default": false, + "description": "Disable all default features" + }, "lib": { "type": "boolean", "description": "Build the package's library", diff --git a/packages/rust/src/executors/run/schema.json b/packages/rust/src/executors/run/schema.json index 73f2618..4809bee 100644 --- a/packages/rust/src/executors/run/schema.json +++ b/packages/rust/src/executors/run/schema.json @@ -47,6 +47,11 @@ "default": false, "description": "Build all binary targets" }, + "no-default-features": { + "type": "boolean", + "default": false, + "description": "Disable all default features" + }, "bin": { "type": "string", "description": "Run the specified binary" diff --git a/packages/rust/src/executors/test/schema.json b/packages/rust/src/executors/test/schema.json index 185e5eb..65ac98b 100644 --- a/packages/rust/src/executors/test/schema.json +++ b/packages/rust/src/executors/test/schema.json @@ -55,6 +55,11 @@ "default": false, "description": "Build all binary targets" }, + "no-default-features": { + "type": "boolean", + "default": false, + "description": "Disable all default features" + }, "lib": { "type": "boolean", "description": "Build the package's library", diff --git a/packages/rust/src/models/base-options.d.ts b/packages/rust/src/models/base-options.d.ts index ded794b..2f2645c 100644 --- a/packages/rust/src/models/base-options.d.ts +++ b/packages/rust/src/models/base-options.d.ts @@ -7,4 +7,5 @@ export interface BaseOptions { 'target-dir'?: string; features?: string | string[]; 'all-features'?: boolean; + 'no-default-features'?: boolean; }