Add rust-version to more crates (#7036)

This commit is contained in:
Connor Fitzgerald 2025-01-31 04:33:10 -05:00 committed by GitHub
parent ba098a59e0
commit 8caefceb8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 15 additions and 0 deletions

View File

@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true repository.workspace = true
keywords.workspace = true keywords.workspace = true
license.workspace = true license.workspace = true
rust-version.workspace = true
autobenches = false autobenches = false
publish = false publish = false

View File

@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true repository.workspace = true
keywords.workspace = true keywords.workspace = true
license.workspace = true license.workspace = true
rust-version.workspace = true
publish = false publish = false
[package.metadata.cargo-machete] [package.metadata.cargo-machete]

View File

@ -8,6 +8,12 @@ repository = "https://github.com/gfx-rs/wgpu/tree/trunk/naga-cli"
keywords = ["shader", "SPIR-V", "GLSL", "MSL"] keywords = ["shader", "SPIR-V", "GLSL", "MSL"]
license = "MIT OR Apache-2.0" 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]] [[bin]]
name = "naga" name = "naga"
path = "src/bin/naga.rs" path = "src/bin/naga.rs"

View File

@ -3,6 +3,7 @@ name = "xtask"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
publish = false publish = false
rust-version = "1.83"
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"

View File

@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true repository.workspace = true
keywords.workspace = true keywords.workspace = true
license.workspace = true license.workspace = true
rust-version.workspace = true
publish = false publish = false
[lib] [lib]

View File

@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true repository.workspace = true
keywords.workspace = true keywords.workspace = true
license.workspace = true license.workspace = true
rust-version.workspace = true
autotests = false autotests = false
publish = false publish = false

View File

@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true repository.workspace = true
keywords.workspace = true keywords.workspace = true
license.workspace = true license.workspace = true
rust-version.workspace = true
[dependencies] [dependencies]
anyhow.workspace = true anyhow.workspace = true

View File

@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true repository.workspace = true
keywords.workspace = true keywords.workspace = true
license.workspace = true license.workspace = true
rust-version.workspace = true
exclude = ["Cargo.lock"] exclude = ["Cargo.lock"]
publish = false publish = false

View File

@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true repository.workspace = true
keywords.workspace = true keywords.workspace = true
license.workspace = true license.workspace = true
rust-version.workspace = true
readme = "../README.md" readme = "../README.md"
exclude = ["Cargo.lock"] exclude = ["Cargo.lock"]

View File

@ -2,6 +2,7 @@
name = "xtask" name = "xtask"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
rust-version = "1.83"
publish = false publish = false
[dependencies] [dependencies]