mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
- Run `cargo fmt` on `webxr` and `webxr-api` - Fix clippy warnings in the existing `webxr` code - Integrate the new crates into the workspace - Expose `webxr` via the libservo API rather than requiring embedders to depend on it explicitly. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "canvas"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "canvas"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
webgl_backtrace = ["canvas_traits/webgl_backtrace"]
|
|
webxr = ["dep:webxr", "dep:webxr-api"]
|
|
|
|
[dependencies]
|
|
app_units = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
byteorder = { workspace = true }
|
|
canvas_traits = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
cssparser = { workspace = true }
|
|
euclid = { workspace = true }
|
|
fnv = { workspace = true }
|
|
font-kit = "0.14"
|
|
fonts = { path = "../fonts" }
|
|
glow = { workspace = true }
|
|
half = "2"
|
|
ipc-channel = { workspace = true }
|
|
log = { workspace = true }
|
|
lyon_geom = "1.0.4"
|
|
net_traits = { workspace = true }
|
|
num-traits = { workspace = true }
|
|
pixels = { path = "../pixels" }
|
|
range = { path = "../range" }
|
|
raqote = "0.8.5"
|
|
servo_arc = { workspace = true }
|
|
style = { workspace = true }
|
|
surfman = { workspace = true }
|
|
unicode-script = { workspace = true }
|
|
webrender = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
webrender_traits = { workspace = true }
|
|
webxr = { path = "../webxr", features = ["ipc"], optional = true }
|
|
webxr-api = { workspace = true, features = ["ipc"], optional = true }
|