mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
This will ultimately make it simpler to update crate dependencies and reduce duplicate when specifying requirements. Generally, this change does not touch dependencies that are only used by a single crate. We could consider moving them to workspace dependencies in the future.
52 lines
1.6 KiB
TOML
52 lines
1.6 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]
|
|
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 = { path = "../canvas_traits" }
|
|
crossbeam-channel = { workspace = true }
|
|
cssparser = { workspace = true }
|
|
euclid = { workspace = true }
|
|
font-kit = "0.11"
|
|
fnv = { workspace = true }
|
|
gfx = { path = "../gfx" }
|
|
gleam = { workspace = true }
|
|
half = "1"
|
|
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.2"
|
|
servo_arc = { path = "../servo_arc" }
|
|
servo_config = { path = "../config" }
|
|
sparkle = { workspace = true }
|
|
style = { path = "../style" }
|
|
style_traits = { path = "../style_traits" }
|
|
# NOTE: the sm-angle feature only enables angle on windows, not other platforms!
|
|
surfman = { workspace = true, features = ["sm-angle","sm-angle-default"] }
|
|
surfman-chains = { workspace = true }
|
|
surfman-chains-api = { workspace = true }
|
|
time = { workspace = true, optional = true }
|
|
webrender = { git = "https://github.com/servo/webrender" }
|
|
webrender_api = { git = "https://github.com/servo/webrender" }
|
|
webrender_surfman = { path = "../webrender_surfman" }
|
|
webrender_traits = { path = "../webrender_traits" }
|
|
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
|
|
webxr = { git = "https://github.com/servo/webxr", features = ["ipc"] }
|