aboutsummaryrefslogtreecommitdiffstats
path: root/components/webgpu/Cargo.toml
blob: 718df8f418d81d5793bfb800780df7f557cafbfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[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 = { path = "../malloc_size_of" }
msg = { path = "../msg" }
serde = { workspace = true, features = ["serde_derive"] }
servo_config = { path = "../config" }
smallvec = { workspace = true, features = ["serde"] }
webrender = { workspace = true }
webrender_api = { workspace = true }
webrender_traits = { path = "../webrender_traits" }
wgpu-core = { version = "0.17", features = ["replay", "trace", "serial-pass", "wgsl"] }
wgpu-types = { version = "0.17" }

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.wgpu-core]
version = "0.17"
features = ["replay", "trace", "serial-pass", "metal"]

[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies.wgpu-core]
version = "0.17"
features = ["replay", "trace", "serial-pass", "vulkan"]

[target.'cfg(windows)'.dependencies.wgpu-core]
version = "0.17"
features = ["replay", "trace", "serial-pass", "dx11", "dx12", "vulkan"]