aboutsummaryrefslogtreecommitdiffstats
path: root/ports/geckolib/Cargo.toml
blob: 70ffc615d9bb04e00540d58da5433e843883d3ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "geckoservo"
version = "0.0.1"
authors = ["The Servo Project Developers"]
license = "MPL-2.0"

[lib]
name = "geckoservo"
path = "lib.rs"
crate-type = ["staticlib", "rlib"]

[features]
bindgen = ["style/use_bindgen"]
gecko_debug = ["style/gecko_debug"]

[dependencies]
atomic_refcell = "0.1"
cssparser = "0.23.0"
env_logger = {version = "0.4", default-features = false} # disable `regex` to reduce code size
libc = "0.2"
log = {version = "0.3.5", features = ["release_max_level_info"]}
malloc_size_of = {path = "../../components/malloc_size_of"}
nsstring = {path = "../../support/gecko/nsstring"}
parking_lot = "0.4"
# Turn on gecko_like_types because of so that crates which use this
# crate and also dev-depend on stylo_tests get reasonable behavior
# during rebuilds.  See https://github.com/rust-lang/cargo/issues/3923
# for the cargo problem behind this.
selectors = {path = "../../components/selectors", features = ["gecko_like_types"]}
servo_arc = {path = "../../components/servo_arc"}
smallvec = "0.6"
style = {path = "../../components/style", features = ["gecko"]}
style_traits = {path = "../../components/style_traits"}

[dev-dependencies]
stylo_tests = {path = "../../tests/unit/stylo"}