aboutsummaryrefslogtreecommitdiffstats
path: root/components/selectors/Cargo.toml
blob: d38d39689ac90245680e4d42bf4994307f13bcbb (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
37
38
39
40
41
42
[package]

name = "selectors"
version = "0.19.0" # Not yet published
authors = ["Simon Sapin <simon.sapin@exyr.org>", "Alan Jeffrey <ajeffrey@mozilla.com>"]
documentation = "https://docs.rs/selectors/"

description = "CSS Selectors matching for Rust"
repository = "https://github.com/servo/servo"
readme = "README.md"
keywords = ["css", "selectors"]
license = "MPL-2.0"
build = "build.rs"

[lib]
name = "selectors"
path = "lib.rs"
# https://github.com/servo/servo/issues/16710
doctest = false

[features]
gecko_like_types = []
bench = []

[dependencies]
bitflags = "1.0"
matches = "0.1"
cssparser = "0.22.0"
log = "0.3"
fnv = "1.0"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
phf = "0.7.18"
precomputed-hash = "0.1"
servo_arc = { path = "../servo_arc" }
smallvec = "0.4"

[dev-dependencies]
size_of_test = {path = "../size_of_test"}

[build-dependencies]
phf_codegen = "0.7.18"