servo/components/util/Cargo.toml
Emilio Cobos Álvarez dd503dfacb Refactor style to be completely backend-independent
This commit refactors the style crate to be completely independent of
the actual implementation and pseudo-elements supported.

This also adds a gecko backend which introduces parsing for the
anonymous box pseudo-elements[1], although there's still no way of
querying them.

https://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSAnonBoxList.h
2016-02-13 16:05:14 +01:00

53 lines
1.4 KiB
TOML

[package]
name = "util"
version = "0.0.1"
authors = ["The Servo Project Developers"]
[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.plugins]
path = "../plugins"
[dependencies.js]
git = "https://github.com/servo/rust-mozjs"
optional = true
[dependencies.ipc-channel]
git = "https://github.com/servo/ipc-channel"
[dependencies]
app_units = {version = "0.2.1", features = ["plugins"]}
bitflags = "0.3"
cssparser = {version = "0.5.3", features = ["heap_size", "serde-serialization"]}
euclid = {version = "0.6.2", features = ["unstable", "plugins"]}
getopts = "0.2.11"
heapsize = "0.3.0"
heapsize_plugin = "0.1.2"
lazy_static = "0.1"
libc = "0.2"
log = "0.3"
num = "0.1.24"
num_cpus = "0.2.2"
rand = "0.3"
rustc-serialize = "0.3"
selectors = {version = "0.5", features = ["heap_size"]}
serde = "0.6"
serde_macros = "0.6"
smallvec = "0.1"
string_cache = {version = "0.2.9", features = ["heap_size"]}
url = {version = "0.5.5", features = ["heap_size", "serde_serialization"]}
uuid = "0.1.17"
[target.x86_64-pc-windows-gnu.dependencies]
kernel32-sys = "0.2"