[package]
name = "style"
version = "0.0.1"
authors = ["The Servo Project Developers"]
publish = false

build = "build.rs"

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

[dependencies.plugins]
path = "../plugins"

[dependencies.util]
path = "../util"

[dependencies.style_traits]
path = "../style_traits"

[dependencies]
app_units = {version = "0.2.1", features = ["plugins"]}
bitflags = "0.3"
cssparser = {version = "0.5.3", features = ["heap_size", "serde-serialization"]}
encoding = "0.2"
euclid = {version = "0.6.2", features = ["plugins"]}
fnv = "1.0"
heapsize = "0.3.0"
heapsize_plugin = "0.1.2"
lazy_static = "0.1.10"
log = "0.3"
matches = "0.1"
num = "0.1.24"
rustc-serialize = "0.3"
selectors = {version = "0.5", features = ["heap_size", "unstable"]}
serde = "0.6"
serde_macros = "0.6"
smallvec = "0.1"
string_cache = {version = "0.2.10", features = ["heap_size"]}
time = "0.1"
url = {version = "0.5.5", features = ["heap_size"]}


[package]
name = "style"
version = "0.0.1"
authors = ["The Servo Project Developers"]
publish = false

build = "build.rs"

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

[dependencies.plugins]
path = "../plugins"

[dependencies.util]
path = "../util"

[dependencies.style_traits]
path = "../style_traits"

[dependencies]
app_units = {version = "0.2.1", features = ["plugins"]}
bitflags = "0.3"
cssparser = {version = "0.5.3", features = ["heap_size", "serde-serialization"]}
encoding = "0.2"
euclid = {version = "0.6.2", features = ["plugins"]}
fnv = "1.0"
heapsize = "0.3.0"
heapsize_plugin = "0.1.2"
lazy_static = "0.1.10"
log = "0.3"
matches = "0.1"
num = "0.1.24"
rustc-serialize = "0.3"
selectors = {version = "0.5", features = ["heap_size", "unstable"]}
serde = {version = "0.6", features = ["nightly"]}
serde_macros = "0.6"
smallvec = "0.1"
string_cache = {version = "0.2.10", features = ["heap_size"]}
time = "0.1"
url = {version = "0.5.5", features = ["heap_size"]}


Enable nightly feature for serde in style
Enable nightly feature for serde in style

Some external dependencies (at least webrender_traits) present only in servo
and not in geckolib use it already and this prevents Cargo to reuse build
artifacts depending on serde between the two targets.
