servo/components/util/Cargo.toml
2016-05-17 17:05:18 -07:00

46 lines
1.3 KiB
TOML

[package]
name = "util"
version = "0.0.1"
authors = ["The Servo Project Developers"]
publish = false
[lib]
name = "util"
path = "lib.rs"
[features]
# This feature allows us to avoid depending on various things we don't need for
# GeckoLib builds. Conceptually, it would make more sense to have a "geckolib"
# feature, but Cargo is generally set up for features to add dependencies, not
# remove them. So we do it this way, and request that all non-GeckoLib builds
# set this feature.
non-geckolib = ["js"]
[dependencies]
app_units = {version = "0.2.3", features = ["plugins"]}
backtrace = "0.2.1"
bitflags = "0.7"
deque = "0.3.1"
euclid = {version = "0.6.4", features = ["unstable", "plugins"]}
getopts = "0.2.11"
heapsize = "0.3.0"
heapsize_plugin = "0.1.2"
ipc-channel = {git = "https://github.com/servo/ipc-channel"}
js = {git = "https://github.com/servo/rust-mozjs", optional = true}
lazy_static = "0.2"
libc = "0.2"
log = "0.3.5"
num_cpus = "0.2.2"
num-traits = "0.1.32"
plugins = {path = "../plugins"}
rand = "0.3"
rustc-serialize = "0.3"
serde = "0.7"
serde_macros = "0.7"
smallvec = "0.1"
string_cache = {version = "0.2.12", features = ["heap_size"]}
url = {version = "1.0.0", features = ["heap_size", "serde"]}
[target.'cfg(windows)'.dependencies]
kernel32-sys = "0.2"