[package] name = "geckoservo" version = "0.0.1" authors = ["The Servo Project Developers"] license = "MPL-2.0" [lib] name = "geckoservo" path = "lib.rs" crate-type = ["staticlib", "rlib"] [features] bindgen = ["style/use_bindgen"] gecko_debug = ["style/gecko_debug"] [dependencies] atomic_refcell = "0.1" cssparser = "0.22.0" env_logger = {version = "0.4", default-features = false} # disable `regex` to reduce code size libc = "0.2" log = {version = "0.3.5", features = ["release_max_level_info"]} malloc_size_of = {path = "../../components/malloc_size_of"} nsstring = {path = "../../support/gecko/nsstring"} parking_lot = "0.4" # Turn on gecko_like_types because of so that crates which use this # crate and also dev-depend on stylo_tests get reasonable behavior # during rebuilds. See https://github.com/rust-lang/cargo/issues/3923 # for the cargo problem behind this. selectors = {path = "../../components/selectors", features = ["gecko_like_types"]} servo_arc = {path = "../../components/servo_arc"} smallvec = "0.4" style = {path = "../../components/style", features = ["gecko"]} style_traits = {path = "../../components/style_traits"} [dev-dependencies] stylo_tests = {path = "../../tests/unit/stylo"}