[package]
name = "geckoservo"
version = "0.0.1"
authors = ["The Servo Project Developers"]
license = "MPL-2.0"
edition = "2021"

[lib]
name = "geckoservo"
path = "lib.rs"

[features]
gecko_debug = ["style/gecko_debug", "nsstring/gecko_debug"]
gecko_refcount_logging = ["style/gecko_refcount_logging", "servo_arc/gecko_refcount_logging"]

[dependencies]
atomic_refcell = "0.1"
cssparser = "0.37"
cstr = "0.2"
dom = { path = "../../../dom/base/rust" }
ipdl_utils = { path = "../../../ipc/rust/ipdl_utils" }
gecko-profiler = { path = "../../../tools/profiler/rust-api" }
libc = "0.2"
log = {version = "0.4", features = ["release_max_level_info"]}
malloc_size_of = {path = "../../components/malloc_size_of"}
nsstring = {path = "../../../xpcom/rust/nsstring/"}
num-traits = "0.2"
selectors = {path = "../../components/selectors"}
servo_arc = {path = "../../components/servo_arc"}
smallvec = "1.0"
static_prefs = { path = "../../../modules/libpref/init/static_prefs" }
style = {path = "../../components/style", features = ["gecko"]}
style_traits = {path = "../../components/style_traits"}
thin-vec = { version = "0.2.1", features = ["gecko-ffi"] }
to_shmem = {path = "../../components/to_shmem"}
lazy_static = "1.0"
