@turbo/types 2.10.6-canary.3 → 2.10.6-canary.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schemas/schema.json +1 -1
- package/src/types/config-v2.ts +15 -11
package/package.json
CHANGED
package/schemas/schema.json
CHANGED
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
"type": "boolean"
|
|
302
302
|
},
|
|
303
303
|
"experimentalCargoWorkspaces": {
|
|
304
|
-
"description": "Treat the crates of a Cargo workspace as Turborepo packages.\n\nWhen enabled, Rust crates are discovered via `cargo metadata` and participate in the package graph: they resolve in `--filter` expressions, propagate `--affected`, and appear in `turbo query`.
|
|
304
|
+
"description": "Treat the crates of a Cargo workspace as Turborepo packages.\n\nWhen enabled, Rust crates are discovered via `cargo metadata` and participate in the package graph: they resolve in `--filter` expressions, propagate `--affected`, and appear in `turbo query`. Filtered builds execute each selected crate. Unfiltered builds prefer entrypoints, falling back to libraries when no entrypoints exist. Entrypoints also expose `run` and `dev`. The `test`, `check`, `clippy`/`lint`, `bench`, and `doc`/`docs` tasks are selectable per crate with `--filter`. An unfiltered run executes one workspace-wide Cargo verification command; filtered runs use the selected crates, or the workspace command when the workspace package is selected directly.\n\nAll crates implicitly register `build` and the verification tasks; entrypoints with one binary also register `run` and `dev`. The workspace package registers the verification tasks. Normal task definitions configure or override these defaults, and package configuration can exclude them with `extends: false`.\n\nTask caching uses Cargo-derived inputs and caches entrypoint build deliverables. Library builds default to uncached. This feature is experimental.",
|
|
305
305
|
"default": false,
|
|
306
306
|
"type": "boolean"
|
|
307
307
|
},
|
package/src/types/config-v2.ts
CHANGED
|
@@ -309,19 +309,23 @@ export interface FutureFlags {
|
|
|
309
309
|
* When enabled, Rust crates are discovered via `cargo metadata` and
|
|
310
310
|
* participate in the package graph: they resolve in `--filter`
|
|
311
311
|
* expressions, propagate `--affected`, and appear in `turbo query`.
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
*
|
|
312
|
+
* Filtered builds execute each selected crate. Unfiltered builds prefer
|
|
313
|
+
* entrypoints, falling back to libraries when no entrypoints exist.
|
|
314
|
+
* Entrypoints also expose `run` and `dev`. The `test`, `check`, `clippy`/`lint`, `bench`, and
|
|
315
|
+
* `doc`/`docs` tasks are selectable per crate with `--filter`. An
|
|
316
|
+
* unfiltered run executes one workspace-wide Cargo verification command;
|
|
317
|
+
* filtered runs use the selected crates, or the workspace command when the
|
|
318
|
+
* workspace package is selected directly.
|
|
319
|
+
*
|
|
320
|
+
* All crates implicitly register `build` and the verification tasks;
|
|
321
|
+
* entrypoints with one binary also register `run` and `dev`. The workspace
|
|
322
|
+
* package registers the verification tasks. Normal task definitions
|
|
323
|
+
* configure or override these defaults, and package configuration can
|
|
324
|
+
* exclude them with `extends: false`.
|
|
322
325
|
*
|
|
323
326
|
* Task caching uses Cargo-derived inputs and caches entrypoint build
|
|
324
|
-
* deliverables. This feature is
|
|
327
|
+
* deliverables. Library builds default to uncached. This feature is
|
|
328
|
+
* experimental.
|
|
325
329
|
*
|
|
326
330
|
* @defaultValue `false`
|
|
327
331
|
*/
|