turbo
ba06e40a - refactor: Use workspace Rust edition across crates (#14270)

Commit
51 days ago
refactor: Use workspace Rust edition across crates (#14270) ## Summary - Move the CLI, daemon, profile-md, and query crates from Rust 2021 to the workspace Rust 2024 edition. - Have those four crates, plus schema-gen and task-executor, inherit `edition` from `[workspace.package]`. - Apply the Rust edition migration for match ergonomics, explicit opaque-type captures, environment mutation safety, and temporary lifetimes; use Rust 2024 formatting and conditional syntax. ```diff [workspace.package] edition = "2024" crates/{turborepo-cli,turborepo-daemon,turborepo-profile-md,turborepo-query,turborepo-schema-gen,turborepo-task-executor}/Cargo.toml - edition = "2021" or "2024" + edition = { workspace = true } ``` Ghostty already declares edition 2024 and is unchanged. Standalone integration-test fixtures keep their intentionally independent editions.
Author
Parents
Loading