mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-05-14 03:18:02 +00:00
Fix Features when Depending on wgpu
(#6915)
This commit is contained in:
parent
aa7bec65b9
commit
c71d67010f
10
Cargo.toml
10
Cargo.toml
@ -80,7 +80,7 @@ arrayvec = "0.7"
|
|||||||
bincode = "1"
|
bincode = "1"
|
||||||
bit-vec = "0.8"
|
bit-vec = "0.8"
|
||||||
bitflags = "2.7"
|
bitflags = "2.7"
|
||||||
bytemuck = { version = "1.21" }
|
bytemuck = { version = "1.21", features = ["derive", "min_const_generics"] }
|
||||||
cfg_aliases = "0.2.1"
|
cfg_aliases = "0.2.1"
|
||||||
cfg-if = "1"
|
cfg-if = "1"
|
||||||
criterion = "0.5"
|
criterion = "0.5"
|
||||||
@ -134,7 +134,13 @@ strum = { version = "0.26.0", features = ["derive"] }
|
|||||||
trybuild = "1"
|
trybuild = "1"
|
||||||
tracy-client = "0.17"
|
tracy-client = "0.17"
|
||||||
thiserror = "2"
|
thiserror = "2"
|
||||||
wgpu = { version = "23.0.1", path = "./wgpu", default-features = false }
|
wgpu = { version = "23.0.1", path = "./wgpu", default-features = false, features = [
|
||||||
|
"serde",
|
||||||
|
"wgsl",
|
||||||
|
"dx12",
|
||||||
|
"metal",
|
||||||
|
"static-dxc",
|
||||||
|
] }
|
||||||
wgpu-core = { version = "23.0.1", path = "./wgpu-core" }
|
wgpu-core = { version = "23.0.1", path = "./wgpu-core" }
|
||||||
wgpu-macros = { version = "23.0.0", path = "./wgpu-macros" }
|
wgpu-macros = { version = "23.0.0", path = "./wgpu-macros" }
|
||||||
wgpu-test = { version = "23.0.0", path = "./tests" }
|
wgpu-test = { version = "23.0.0", path = "./tests" }
|
||||||
|
@ -47,4 +47,4 @@ pollster.workspace = true
|
|||||||
profiling.workspace = true
|
profiling.workspace = true
|
||||||
rayon.workspace = true
|
rayon.workspace = true
|
||||||
tracy-client = { workspace = true, optional = true }
|
tracy-client = { workspace = true, optional = true }
|
||||||
wgpu = { workspace = true, features = ["wgsl", "metal", "dx12"] }
|
wgpu.workspace = true
|
||||||
|
@ -29,7 +29,7 @@ webgl = ["wgpu/webgl"]
|
|||||||
webgpu = ["wgpu/webgpu"]
|
webgpu = ["wgpu/webgpu"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytemuck = { workspace = true, features = ["derive"] }
|
bytemuck.workspace = true
|
||||||
cfg-if.workspace = true
|
cfg-if.workspace = true
|
||||||
encase = { workspace = true, features = ["glam"] }
|
encase = { workspace = true, features = ["glam"] }
|
||||||
flume.workspace = true
|
flume.workspace = true
|
||||||
@ -43,11 +43,7 @@ obj.workspace = true
|
|||||||
png.workspace = true
|
png.workspace = true
|
||||||
pollster.workspace = true
|
pollster.workspace = true
|
||||||
web-time.workspace = true
|
web-time.workspace = true
|
||||||
wgpu = { workspace = true, default-features = false, features = [
|
wgpu.workspace = true
|
||||||
"wgsl",
|
|
||||||
"dx12",
|
|
||||||
"metal",
|
|
||||||
] }
|
|
||||||
winit.workspace = true
|
winit.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
@ -45,7 +45,7 @@ serde_json.workspace = true
|
|||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
strum = { workspace = true, features = ["derive"] }
|
strum = { workspace = true, features = ["derive"] }
|
||||||
trybuild.workspace = true
|
trybuild.workspace = true
|
||||||
wgpu = { workspace = true, features = ["wgsl", "static-dxc"] }
|
wgpu.workspace = true
|
||||||
wgpu-macros.workspace = true
|
wgpu-macros.workspace = true
|
||||||
wgt = { workspace = true, features = ["serde"] }
|
wgt = { workspace = true, features = ["serde"] }
|
||||||
|
|
||||||
|
@ -16,4 +16,4 @@ env_logger.workspace = true
|
|||||||
pico-args.workspace = true
|
pico-args.workspace = true
|
||||||
serde = { workspace = true, features = ["default"] }
|
serde = { workspace = true, features = ["default"] }
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
wgpu = { workspace = true, features = ["serde", "dx12", "metal", "static-dxc"] }
|
wgpu.workspace = true
|
||||||
|
Loading…
Reference in New Issue
Block a user