mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-04-17 22:46:35 +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"
|
||||
futures-lite = "2"
|
||||
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 = [
|
||||
"default-hasher",
|
||||
"inline-more",
|
||||
|
@ -50,7 +50,13 @@ deserialize = [
|
||||
"hashbrown/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-out = ["dep:spirv"]
|
||||
wgsl-in = [
|
||||
@ -85,12 +91,12 @@ codespan-reporting = { workspace = true, default-features = false, features = [
|
||||
"termcolor",
|
||||
] }
|
||||
hashbrown.workspace = true
|
||||
half = { workspace = true, features = ["arbitrary", "num-traits"] }
|
||||
half = { workspace = true, default-features = false, features = ["num-traits"] }
|
||||
rustc-hash.workspace = true
|
||||
indexmap.workspace = true
|
||||
log = "0.4"
|
||||
# `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 }
|
||||
spirv = { version = "0.3", optional = true }
|
||||
thiserror.workspace = true
|
||||
|
@ -44,7 +44,7 @@ cfg-if.workspace = true
|
||||
ctor.workspace = true
|
||||
futures-lite.workspace = true
|
||||
glam.workspace = true
|
||||
half = { workspace = true, features = ["bytemuck"] }
|
||||
half = { workspace = true, features = ["bytemuck", "std"] }
|
||||
itertools.workspace = true
|
||||
image.workspace = true
|
||||
libtest-mimic.workspace = true
|
||||
|
Loading…
Reference in New Issue
Block a user