mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
This makes it easier to add variants, I also added some spec links and reordered enum variants to match the spec. Testing: Just refactor, but the code is covered by WPT tests. Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
32 lines
816 B
TOML
32 lines
816 B
TOML
[package]
|
|
name = "canvas_traits"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "canvas_traits"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
webgl_backtrace = []
|
|
|
|
[dependencies]
|
|
base = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
euclid = { workspace = true }
|
|
glow = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
malloc_size_of = { workspace = true }
|
|
malloc_size_of_derive = { workspace = true }
|
|
pixels = { path = "../../pixels" }
|
|
serde = { workspace = true }
|
|
serde_bytes = { workspace = true }
|
|
servo_config = { path = "../../config" }
|
|
strum = { workspace = true }
|
|
stylo = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
webxr-api = { workspace = true, features = ["ipc"] }
|