diff options
Diffstat (limited to 'servo/components/style_traits/Cargo.toml')
-rw-r--r-- | servo/components/style_traits/Cargo.toml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/servo/components/style_traits/Cargo.toml b/servo/components/style_traits/Cargo.toml new file mode 100644 index 0000000000..81d6e2bdf4 --- /dev/null +++ b/servo/components/style_traits/Cargo.toml @@ -0,0 +1,32 @@ +[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.33" +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 } +to_shmem = { path = "../to_shmem" } +to_shmem_derive = { path = "../to_shmem_derive" } +webrender_api = { git = "https://github.com/servo/webrender", optional = true } |