[package] name = "util" version = "0.0.1" authors = ["The Servo Project Developers"] license = "MPL-2.0" publish = false [lib] name = "util" path = "lib.rs" [features] # servo as opposed to geckolib servo = ["serde", "serde_derive", "app_units/plugins", "euclid/unstable", "url/heap_size", "url/serde", "plugins"] [dependencies] app_units = "0.3" bitflags = "0.7" euclid = "0.10.1" getopts = "0.2.11" heapsize = "0.3.0" lazy_static = "0.2" log = "0.3.5" num_cpus = "1.1.0" rustc-serialize = "0.3" serde = {version = "0.8", optional = true} serde_derive = {version = "0.8", optional = true} url = "1.2" plugins = {path = "../plugins", optional = true} [dev-dependencies] env_logger = "0.3" [target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies] xdg = "2.0"