mirror of
https://github.com/servo/servo
synced 2026-04-26 09:35:26 +02:00
* Update wgpu to 32e70bc163 (0.19)
* Update expect only good
* reexpect
* remove dbg stuff
* Remove all occurrences of dx11_hub
43 lines
1.3 KiB
TOML
43 lines
1.3 KiB
TOML
[package]
|
|
name = "webgpu"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "webgpu"
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
arrayvec = { workspace = true, features = ["serde"] }
|
|
euclid = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
log = { workspace = true }
|
|
malloc_size_of = { workspace = true }
|
|
msg = { workspace = true }
|
|
serde = { workspace = true, features = ["serde_derive"] }
|
|
servo_config = { path = "../config" }
|
|
smallvec = { workspace = true, features = ["serde"] }
|
|
webrender = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
webrender_traits = { workspace = true }
|
|
wgpu-core = { workspace = true, features = ["replay", "trace", "wgsl"] }
|
|
wgpu-types = { workspace = true }
|
|
|
|
# We want the wgpu-core Metal backend on macOS and iOS.
|
|
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.wgpu-core]
|
|
workspace = true
|
|
features = ["metal"]
|
|
|
|
# We want the wgpu-core Vulkan backend on Linux and Windows.
|
|
[target.'cfg(any(windows, all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies.wgpu-core]
|
|
workspace = true
|
|
features = ["vulkan"]
|
|
|
|
# We want the wgpu-core Direct3D backends on Windows.
|
|
[target.'cfg(windows)'.dependencies.wgpu-core]
|
|
workspace = true
|
|
features = ["dx12", "vulkan"]
|