mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
This change finishes the big rename associated with the old `compositing` crates. Long ago, these crates managed a compositor, like you might find in a traditional web engine. These days, compositing is done in WebRender so the name has stopped making much sense. Various structs inside the crates have already been renamed and this is the final big change necessary for the rename Testing: This is just a rename so existing tests should cover it. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
42 lines
1.2 KiB
TOML
42 lines
1.2 KiB
TOML
[package]
|
|
name = "webgpu"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "webgpu"
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
arrayvec = { workspace = true, features = ["serde"] }
|
|
base = { workspace = true }
|
|
euclid = { workspace = true }
|
|
log = { workspace = true }
|
|
paint_api = { workspace = true }
|
|
pixels = { path = "../pixels" }
|
|
rustc-hash = { workspace = true }
|
|
servo_config = { path = "../config" }
|
|
webgpu_traits = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
wgpu-core = { workspace = true, features = ["serde", "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 = ["gles", "vulkan"]
|
|
|
|
# We want the wgpu-core Direct3D backends on Windows.
|
|
[target.'cfg(windows)'.dependencies.wgpu-core]
|
|
workspace = true
|
|
features = ["dx12", "vulkan"]
|