mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
This reverts the relevant bits from #21746 so that style and dependencies can build with stable. This is important because: * `selectors` is a published crate. * Gecko compiles with stable (more or less). I reviewed that PR under the assumption that the union feature was stable, since untagged unions are stable since 1.19, but turns out that smallvec uses non-Copy types in unions, which are still unstable. This leaves the union feature used on Servo, so that it gets testing, taking advantage of features being additive.
35 lines
664 B
TOML
35 lines
664 B
TOML
[package]
|
|
|
|
name = "selectors"
|
|
version = "0.20.0"
|
|
authors = ["The Servo Project Developers"]
|
|
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"
|
|
|
|
[features]
|
|
bench = []
|
|
|
|
[dependencies]
|
|
bitflags = "1.0"
|
|
matches = "0.1"
|
|
cssparser = "0.24.0"
|
|
log = "0.4"
|
|
fxhash = "0.2"
|
|
phf = "0.7.18"
|
|
precomputed-hash = "0.1"
|
|
servo_arc = { version = "0.1", path = "../servo_arc" }
|
|
smallvec = "0.6"
|
|
thin-slice = "0.1.0"
|
|
|
|
[build-dependencies]
|
|
phf_codegen = "0.7.18"
|