mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
[naga] Fix improper feature gates (#7484)
This commit is contained in:
parent
be16f8ce18
commit
4761e27da5
@ -106,7 +106,7 @@ fern = "0.7"
|
|||||||
flume = "0.11"
|
flume = "0.11"
|
||||||
futures-lite = "2"
|
futures-lite = "2"
|
||||||
glam = "0.29"
|
glam = "0.29"
|
||||||
half = "2.5" # We require 2.5 to have `Arbitrary` support.
|
half = { version = "2.5", default-features = false } # We require 2.5 to have `Arbitrary` support.
|
||||||
hashbrown = { version = "0.15.2", default-features = false, features = [
|
hashbrown = { version = "0.15.2", default-features = false, features = [
|
||||||
"default-hasher",
|
"default-hasher",
|
||||||
"inline-more",
|
"inline-more",
|
||||||
|
|||||||
@ -50,7 +50,13 @@ deserialize = [
|
|||||||
"hashbrown/serde",
|
"hashbrown/serde",
|
||||||
"indexmap/serde",
|
"indexmap/serde",
|
||||||
]
|
]
|
||||||
arbitrary = ["dep:arbitrary", "bitflags/arbitrary", "indexmap/arbitrary"]
|
arbitrary = [
|
||||||
|
"dep:arbitrary",
|
||||||
|
"bitflags/arbitrary",
|
||||||
|
"indexmap/arbitrary",
|
||||||
|
"half/arbitrary",
|
||||||
|
"half/std",
|
||||||
|
]
|
||||||
spv-in = ["dep:petgraph", "dep:spirv"]
|
spv-in = ["dep:petgraph", "dep:spirv"]
|
||||||
spv-out = ["dep:spirv"]
|
spv-out = ["dep:spirv"]
|
||||||
wgsl-in = [
|
wgsl-in = [
|
||||||
@ -85,12 +91,12 @@ codespan-reporting = { workspace = true, default-features = false, features = [
|
|||||||
"termcolor",
|
"termcolor",
|
||||||
] }
|
] }
|
||||||
hashbrown.workspace = true
|
hashbrown.workspace = true
|
||||||
half = { workspace = true, features = ["arbitrary", "num-traits"] }
|
half = { workspace = true, default-features = false, features = ["num-traits"] }
|
||||||
rustc-hash.workspace = true
|
rustc-hash.workspace = true
|
||||||
indexmap.workspace = true
|
indexmap.workspace = true
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
# `half` requires 0.2.16 for `FromBytes` and `ToBytes`.
|
# `half` requires 0.2.16 for `FromBytes` and `ToBytes`.
|
||||||
num-traits = "0.2.16"
|
num-traits = { version = "0.2.16", default-features = false }
|
||||||
strum = { workspace = true, optional = true }
|
strum = { workspace = true, optional = true }
|
||||||
spirv = { version = "0.3", optional = true }
|
spirv = { version = "0.3", optional = true }
|
||||||
thiserror.workspace = true
|
thiserror.workspace = true
|
||||||
|
|||||||
@ -44,7 +44,7 @@ cfg-if.workspace = true
|
|||||||
ctor.workspace = true
|
ctor.workspace = true
|
||||||
futures-lite.workspace = true
|
futures-lite.workspace = true
|
||||||
glam.workspace = true
|
glam.workspace = true
|
||||||
half = { workspace = true, features = ["bytemuck"] }
|
half = { workspace = true, features = ["bytemuck", "std"] }
|
||||||
itertools.workspace = true
|
itertools.workspace = true
|
||||||
image.workspace = true
|
image.workspace = true
|
||||||
libtest-mimic.workspace = true
|
libtest-mimic.workspace = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user