[package] name = "style_traits" version = "0.0.1" authors = ["The Servo Project Developers"] license = "MPL-2.0" repository = "https://github.com/servo/stylo" edition = "2021" description = "Types used by the Stylo CSS engine" [lib] name = "style_traits" path = "lib.rs" [features] servo = ["stylo_atoms", "cssparser/serde", "url", "euclid/serde"] gecko = ["nsstring"] [dependencies] app_units = "0.7" bitflags = "2" cssparser = "0.34" euclid = "0.22" 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" } stylo_atoms = { path = "../atoms", optional = true } thin-vec = "0.2" to_shmem = { path = "../to_shmem" } to_shmem_derive = { path = "../to_shmem_derive" } url = { version = "2.5", optional = true }