mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
We want to eventually remove raqote backend, but for now we can gate it behind a feature (still enabled by default in servoshell) like the rest of backends. `dom_canvas_backend=auto` will select first available backend. Builds on top of https://github.com/servo/servo/pull/38310 to support cases where no backend is available. Testing: It compiles with or without feature --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
62 lines
2 KiB
TOML
62 lines
2 KiB
TOML
[package]
|
|
name = "constellation"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "constellation"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
bluetooth = ["bluetooth_traits"]
|
|
default = []
|
|
tracing = ["dep:tracing"]
|
|
webgpu = ["script_traits/webgpu"]
|
|
vello = ["canvas/vello"]
|
|
vello_cpu = ["canvas/vello_cpu"]
|
|
raqote = ["canvas/raqote"]
|
|
|
|
[dependencies]
|
|
background_hang_monitor = { path = "../background_hang_monitor" }
|
|
background_hang_monitor_api = { workspace = true }
|
|
backtrace = { workspace = true }
|
|
base = { workspace = true }
|
|
bluetooth_traits = { workspace = true, optional = true }
|
|
canvas = { path = "../canvas" }
|
|
canvas_traits = { workspace = true }
|
|
compositing_traits = { workspace = true }
|
|
constellation_traits = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
devtools_traits = { workspace = true }
|
|
embedder_traits = { workspace = true }
|
|
euclid = { workspace = true }
|
|
fonts = { path = "../fonts" }
|
|
ipc-channel = { workspace = true }
|
|
keyboard-types = { workspace = true }
|
|
layout_api = { workspace = true }
|
|
log = { workspace = true }
|
|
media = { path = "../media" }
|
|
net = { path = "../net" }
|
|
net_traits = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
profile = { path = "../profile" }
|
|
profile_traits = { workspace = true }
|
|
script_traits = { workspace = true }
|
|
serde = { workspace = true }
|
|
servo_config = { path = "../config" }
|
|
servo_rand = { path = "../rand" }
|
|
servo_url = { path = "../url" }
|
|
tracing = { workspace = true, optional = true }
|
|
webgpu = { path = "../webgpu" }
|
|
webgpu_traits = { workspace = true }
|
|
webrender = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
webxr-api = { workspace = true, features = ["ipc"] }
|
|
servo-tracing = { workspace = true }
|
|
|
|
[target.'cfg(any(target_os="macos", all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android"), not(target_env="ohos"), not(target_arch="arm"), not(target_arch="aarch64"))))'.dependencies]
|
|
gaol = "0.2.1"
|