Cargo.toml (940B)
1 [package] 2 name = "style_traits" 3 version = "0.0.1" 4 authors = ["The Servo Project Developers"] 5 license = "MPL-2.0" 6 repository = "https://github.com/servo/stylo" 7 edition = "2021" 8 description = "Types used by the Stylo CSS engine" 9 10 [lib] 11 name = "style_traits" 12 path = "lib.rs" 13 14 [features] 15 servo = ["stylo_atoms", "cssparser/serde", "url", "euclid/serde"] 16 gecko = ["nsstring"] 17 18 [dependencies] 19 app_units = "0.7" 20 bitflags = "2" 21 cssparser = "0.36" 22 euclid = "0.22" 23 malloc_size_of = { path = "../malloc_size_of" } 24 malloc_size_of_derive = { path = "../../../xpcom/rust/malloc_size_of_derive" } 25 nsstring = {path = "../../../xpcom/rust/nsstring/", optional = true} 26 selectors = { path = "../selectors" } 27 serde = "1.0" 28 servo_arc = { path = "../servo_arc" } 29 stylo_atoms = { path = "../atoms", optional = true } 30 thin-vec = "0.2" 31 to_shmem = { path = "../to_shmem" } 32 to_shmem_derive = { path = "../to_shmem_derive" } 33 url = { version = "2.5", optional = true }