mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
3d5f9194a2
MozReview-Commit-ID: 2UtyHapbBm8
84 lines
2.3 KiB
TOML
84 lines
2.3 KiB
TOML
[package]
|
|
name = "style"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
publish = false
|
|
|
|
build = "build.rs"
|
|
|
|
# https://github.com/rust-lang/cargo/issues/3544
|
|
links = "for some reason the links key is required to pass data around between build scripts"
|
|
|
|
[lib]
|
|
name = "style"
|
|
path = "lib.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
gecko = ["nsstring_vendor", "num_cpus", "style_traits/gecko"]
|
|
use_bindgen = ["bindgen", "regex", "toml"]
|
|
servo = ["serde", "heapsize", "heapsize_derive",
|
|
"style_traits/servo", "servo_atoms", "servo_config", "html5ever",
|
|
"cssparser/heapsize", "cssparser/serde", "encoding", "smallvec/heapsizeof",
|
|
|
|
# FIXME: Uncomment when https://github.com/servo/servo/pull/16953 has landed:
|
|
#"arrayvec/use_union"
|
|
|
|
"servo_url"]
|
|
testing = []
|
|
gecko_debug = ["nsstring_vendor/gecko_debug"]
|
|
|
|
[dependencies]
|
|
app_units = "0.5"
|
|
arrayvec = "0.3.20"
|
|
arraydeque = "0.2.3"
|
|
atomic_refcell = "0.1"
|
|
bitflags = "0.7"
|
|
bit-vec = "0.4.3"
|
|
byteorder = "1.0"
|
|
cfg-if = "0.1.0"
|
|
cssparser = "0.16.1"
|
|
encoding = {version = "0.2", optional = true}
|
|
euclid = "0.15"
|
|
fnv = "1.0"
|
|
heapsize = {version = "0.4", optional = true}
|
|
heapsize_derive = {version = "0.1", optional = true}
|
|
itoa = "0.3"
|
|
html5ever = {version = "0.18", optional = true}
|
|
lazy_static = "0.2"
|
|
log = "0.3"
|
|
matches = "0.1"
|
|
nsstring_vendor = {path = "gecko_bindings/nsstring_vendor", optional = true}
|
|
num_cpus = {version = "1.1.0", optional = true}
|
|
num-integer = "0.1.32"
|
|
num-traits = "0.1.32"
|
|
ordered-float = "0.4"
|
|
parking_lot = "0.3.3"
|
|
pdqsort = "0.1.0"
|
|
precomputed-hash = "0.1"
|
|
rayon = "0.8"
|
|
selectors = { path = "../selectors" }
|
|
servo_arc = { path = "../servo_arc" }
|
|
serde = {version = "1.0", optional = true, features = ["derive"]}
|
|
servo_atoms = {path = "../atoms", optional = true}
|
|
servo_config = {path = "../config", optional = true}
|
|
smallvec = "0.4"
|
|
style_derive = {path = "../style_derive"}
|
|
style_traits = {path = "../style_traits"}
|
|
servo_url = {path = "../url", optional = true}
|
|
time = "0.1"
|
|
unicode-bidi = "0.3"
|
|
unicode-segmentation = "1.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
kernel32-sys = "0.2"
|
|
|
|
[build-dependencies]
|
|
lazy_static = "0.2"
|
|
log = "0.3"
|
|
bindgen = { version = "0.26.1", optional = true }
|
|
regex = {version = "0.2", optional = true}
|
|
walkdir = "1.0"
|
|
toml = {version = "0.2.1", optional = true, default-features = false}
|