Source code

Revision control

Other Tools

1
[package]
2
name = "style"
3
version = "0.0.1"
4
authors = ["The Servo Project Developers"]
5
license = "MPL-2.0"
6
publish = false
7
8
build = "build.rs"
9
11
links = "servo_style_crate"
12
13
[lib]
14
name = "style"
15
path = "lib.rs"
16
doctest = false
17
18
[features]
19
gecko = ["nsstring", "serde", "style_traits/gecko", "fallible/known_system_malloc", "bindgen", "regex", "toml"]
20
servo = ["serde", "style_traits/servo", "servo_atoms", "servo_config", "html5ever",
21
"cssparser/serde", "encoding_rs", "malloc_size_of/servo", "arrayvec/use_union",
22
"servo_url", "string_cache", "crossbeam-channel", "to_shmem/servo", "servo_arc/servo"]
23
servo-layout-2013 = []
24
servo-layout-2020 = []
25
gecko_debug = []
26
gecko_refcount_logging = []
27
gecko_profiler = []
28
29
[dependencies]
30
app_units = "0.7"
31
arrayvec = "0.5"
32
atomic_refcell = "0.1"
33
bitflags = "1.0"
34
byteorder = "1.0"
35
cssparser = "0.25"
36
crossbeam-channel = { version = "0.3", optional = true }
37
derive_more = "0.13"
38
new_debug_unreachable = "1.0"
39
encoding_rs = {version = "0.8", optional = true}
40
euclid = "0.20"
41
fallible = { path = "../fallible" }
42
fxhash = "0.2"
43
hashglobe = { path = "../hashglobe" }
44
html5ever = {version = "0.24", optional = true}
45
indexmap = "1.0"
46
itertools = "0.8"
47
itoa = "0.4"
48
lazy_static = "1"
49
log = "0.4"
50
malloc_size_of = { path = "../malloc_size_of" }
51
malloc_size_of_derive = "0.1"
52
matches = "0.1"
53
nsstring = {path = "../../../xpcom/rust/nsstring/", optional = true}
54
num_cpus = {version = "1.1.0"}
55
num-integer = "0.1"
56
num-traits = "0.2"
57
num-derive = "0.3"
58
ordered-float = "1.0"
59
owning_ref = "0.4"
60
parking_lot = "0.9"
61
precomputed-hash = "0.1.1"
62
rayon = "1"
63
selectors = { path = "../selectors" }
64
serde = {version = "1.0", optional = true, features = ["derive"]}
65
servo_arc = { path = "../servo_arc" }
66
servo_atoms = {path = "../atoms", optional = true}
67
servo_config = {path = "../config", optional = true}
68
smallbitvec = "2.3.0"
69
smallvec = "0.6.6"
70
static_prefs = { path = "../../../modules/libpref/init/static_prefs" }
71
string_cache = { version = "0.7", optional = true }
72
style_derive = {path = "../style_derive"}
73
style_traits = {path = "../style_traits"}
74
servo_url = {path = "../url", optional = true}
75
thin-slice = "0.1.0"
76
to_shmem = {path = "../to_shmem"}
77
to_shmem_derive = {path = "../to_shmem_derive"}
78
time = "0.1"
79
uluru = "0.4"
80
unicode-bidi = "0.3"
81
unicode-segmentation = "1.0"
82
void = "1.0.2"
83
84
[build-dependencies]
85
lazy_static = "1"
86
log = "0.4"
87
bindgen = {version = "0.51.1", optional = true, default-features = false}
88
regex = {version = "1.0", optional = true}
89
walkdir = "2.1.4"
90
toml = {version = "0.4.5", optional = true, default-features = false}