@turbo/types 2.10.5-canary.4 → 2.10.5-canary.6
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 +7 -2
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`. Entrypoint `build`, `run`, and `dev` tasks execute per crate, while verification tasks execute on the synthetic workspace package. Library crates remain graph nodes, but their tasks are no-ops because Cargo builds them through dependency closures.\n\nTask caching uses Cargo-derived inputs and caches entrypoint build deliverables. This feature is experimental.",
|
|
305
305
|
"default": false,
|
|
306
306
|
"type": "boolean"
|
|
307
307
|
},
|
package/src/types/config-v2.ts
CHANGED
|
@@ -309,8 +309,13 @@ 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
|
-
*
|
|
312
|
+
* Entrypoint `build`, `run`, and `dev` tasks execute per crate, while
|
|
313
|
+
* verification tasks execute on the synthetic workspace package. Library
|
|
314
|
+
* crates remain graph nodes, but their tasks are no-ops because Cargo
|
|
315
|
+
* builds them through dependency closures.
|
|
316
|
+
*
|
|
317
|
+
* Task caching uses Cargo-derived inputs and caches entrypoint build
|
|
318
|
+
* deliverables. This feature is experimental.
|
|
314
319
|
*
|
|
315
320
|
* @defaultValue `false`
|
|
316
321
|
*/
|