servo/components/selectors/Cargo.toml
Federico Mena Quintero 9dae402dc5 selectors/Cargo.toml: Gate the_shmem/to_shmem_derive deps behind a new "shmem" feature
ToShmem is of interest only to Servo, not to the public selectors
crate.
2023-02-14 11:38:36 -06:00

35 lines
808 B
TOML

[package]
name = "selectors"
version = "0.23.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 = []
shmem = [ "dep:to_shmem", "dep:to_shmem_derive" ]
[dependencies]
bitflags = "1.0"
cssparser = "0.29"
derive_more = "0.99"
fxhash = "0.2"
log = "0.4"
phf = "0.8"
precomputed-hash = "0.1"
servo_arc = { version = "0.1", path = "../servo_arc" }
smallvec = "1.0"
to_shmem = { path = "../to_shmem", optional = true }
to_shmem_derive = { path = "../to_shmem_derive", optional = true }
[build-dependencies]
phf_codegen = "0.8"