mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[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]
|
|
canvas2d-azure = ["azure"]
|
|
canvas2d-raqote = ["raqote"]
|
|
webgl_backtrace = ["canvas_traits/webgl_backtrace"]
|
|
no-wgl = ["surfman/sm-no-wgl"]
|
|
|
|
[dependencies]
|
|
azure = {git = "https://github.com/servo/rust-azure", optional = true}
|
|
bitflags = "1.0"
|
|
byteorder = "1"
|
|
canvas_traits = {path = "../canvas_traits"}
|
|
cssparser = "0.27.1"
|
|
embedder_traits = {path = "../embedder_traits"}
|
|
euclid = "0.20"
|
|
fnv = "1.0"
|
|
gleam = "0.6.7"
|
|
half = "1"
|
|
ipc-channel = "0.12"
|
|
log = "0.4"
|
|
num-traits = "0.2"
|
|
raqote = {git = "https://github.com/jrmuizel/raqote", optional = true}
|
|
pixels = {path = "../pixels"}
|
|
servo_config = {path = "../config"}
|
|
sparkle = "0.1.8"
|
|
webrender = {git = "https://github.com/servo/webrender"}
|
|
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
|
|
webrender_traits = {path = "../webrender_traits"}
|
|
webxr-api = {git = "https://github.com/servo/webxr", features = ["ipc"]}
|
|
# NOTE: the sm-angle feature only enables angle on windows, not other platforms!
|
|
surfman = { version = "0.1", features = ["sm-angle", "sm-osmesa"] }
|
|
surfman-chains = "0.1"
|