diff --git a/benches/Cargo.toml b/benches/Cargo.toml index d00cecf62d..18c9ade4ed 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -8,6 +8,7 @@ homepage.workspace = true repository.workspace = true keywords.workspace = true license.workspace = true +rust-version.workspace = true autobenches = false publish = false diff --git a/examples/features/Cargo.toml b/examples/features/Cargo.toml index 53029bd343..21416e7400 100644 --- a/examples/features/Cargo.toml +++ b/examples/features/Cargo.toml @@ -8,6 +8,7 @@ homepage.workspace = true repository.workspace = true keywords.workspace = true license.workspace = true +rust-version.workspace = true publish = false [package.metadata.cargo-machete] diff --git a/naga-cli/Cargo.toml b/naga-cli/Cargo.toml index bf84f9a65f..2d00c4a06b 100644 --- a/naga-cli/Cargo.toml +++ b/naga-cli/Cargo.toml @@ -8,6 +8,12 @@ repository = "https://github.com/gfx-rs/wgpu/tree/trunk/naga-cli" keywords = ["shader", "SPIR-V", "GLSL", "MSL"] license = "MIT OR Apache-2.0" +# Override the workspace's `rust-version` key. Firefox uses `cargo vendor` to +# copy the crates it actually uses out of the workspace, so it's meaningful for +# them to have less restrictive MSRVs individually than the workspace as a +# whole, if their code permits. See `../README.md` for details. +rust-version = "1.76" + [[bin]] name = "naga" path = "src/bin/naga.rs" diff --git a/naga/xtask/Cargo.toml b/naga/xtask/Cargo.toml index 2b3f0247ac..5e779d2944 100644 --- a/naga/xtask/Cargo.toml +++ b/naga/xtask/Cargo.toml @@ -3,6 +3,7 @@ name = "xtask" version = "0.1.0" edition = "2021" publish = false +rust-version = "1.83" [dependencies] anyhow = "1" diff --git a/player/Cargo.toml b/player/Cargo.toml index edeab7532b..086e2563a7 100644 --- a/player/Cargo.toml +++ b/player/Cargo.toml @@ -8,6 +8,7 @@ homepage.workspace = true repository.workspace = true keywords.workspace = true license.workspace = true +rust-version.workspace = true publish = false [lib] diff --git a/tests/Cargo.toml b/tests/Cargo.toml index af37a472a1..10a0555aa5 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -8,6 +8,7 @@ homepage.workspace = true repository.workspace = true keywords.workspace = true license.workspace = true +rust-version.workspace = true autotests = false publish = false diff --git a/wgpu-info/Cargo.toml b/wgpu-info/Cargo.toml index a287887a95..56ddf860bf 100644 --- a/wgpu-info/Cargo.toml +++ b/wgpu-info/Cargo.toml @@ -8,6 +8,7 @@ homepage.workspace = true repository.workspace = true keywords.workspace = true license.workspace = true +rust-version.workspace = true [dependencies] anyhow.workspace = true diff --git a/wgpu-macros/Cargo.toml b/wgpu-macros/Cargo.toml index 3c605e6554..97c4f31396 100644 --- a/wgpu-macros/Cargo.toml +++ b/wgpu-macros/Cargo.toml @@ -8,6 +8,7 @@ homepage.workspace = true repository.workspace = true keywords.workspace = true license.workspace = true +rust-version.workspace = true exclude = ["Cargo.lock"] publish = false diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index c6923f1be6..a69809c645 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -8,6 +8,7 @@ homepage.workspace = true repository.workspace = true keywords.workspace = true license.workspace = true +rust-version.workspace = true readme = "../README.md" exclude = ["Cargo.lock"] diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 502a596557..3f1022efbe 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -2,6 +2,7 @@ name = "xtask" version = "0.1.0" edition = "2021" +rust-version = "1.83" publish = false [dependencies]