33 lines
969 B
TOML
33 lines
969 B
TOML
[package]
|
|
name = "style_traits"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "style_traits"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
servo = ["servo_atoms", "cssparser/serde", "webrender_api", "servo_url", "euclid/serde"]
|
|
gecko = ["nsstring"]
|
|
|
|
[dependencies]
|
|
app_units = "0.7"
|
|
bitflags = "2"
|
|
cssparser = "0.34"
|
|
euclid = "0.22"
|
|
lazy_static = "1"
|
|
malloc_size_of = { path = "../malloc_size_of" }
|
|
malloc_size_of_derive = { path = "../../../xpcom/rust/malloc_size_of_derive" }
|
|
nsstring = {path = "../../../xpcom/rust/nsstring/", optional = true}
|
|
selectors = { path = "../selectors" }
|
|
serde = "1.0"
|
|
servo_arc = { path = "../servo_arc" }
|
|
servo_atoms = { path = "../atoms", optional = true }
|
|
servo_url = { path = "../url", optional = true }
|
|
thin-vec = "0.2"
|
|
to_shmem = { path = "../to_shmem" }
|
|
to_shmem_derive = { path = "../to_shmem_derive" }
|
|
webrender_api = { git = "https://github.com/servo/webrender", optional = true }
|