[package] name = "canvas" version = "0.0.1" authors = ["The Servo Project Developers"] license = "MPL-2.0" edition = "2018" publish = false [lib] name = "canvas" path = "lib.rs" [features] no-wgl = ["surfman/sm-no-wgl"] webgl_backtrace = ["canvas_traits/webgl_backtrace"] xr-profile = ["webxr-api/profile", "time"] [dependencies] bitflags = { workspace = true } byteorder = { workspace = true } canvas_traits = { workspace = true } crossbeam-channel = { workspace = true } cssparser = { workspace = true } euclid = { workspace = true } font-kit = { version = "0.13" } fnv = { workspace = true } gfx = { path = "../gfx" } half = "2" ipc-channel = { workspace = true } log = { workspace = true } lyon_geom = "1.0.4" num-traits = { workspace = true } pathfinder_geometry = "0.5" pixels = { path = "../pixels" } raqote = "0.8.4" servo_arc = { workspace = true } sparkle = { workspace = true } style = { workspace = true } style_traits = { workspace = true } surfman = { workspace = true } time = { workspace = true, optional = true } webrender = { workspace = true } webrender_api = { workspace = true } webrender_traits = { workspace = true } webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] } webxr = { git = "https://github.com/servo/webxr", features = ["ipc"] }