Cargo.toml (965B)
1 [package] 2 name = "selectors" 3 version = "0.26.0" 4 authors = ["The Servo Project Developers"] 5 documentation = "https://docs.rs/selectors/" 6 description = "CSS Selectors matching for Rust" 7 repository = "https://github.com/servo/stylo" 8 readme = "README.md" 9 keywords = ["css", "selectors"] 10 license = "MPL-2.0" 11 edition = "2021" 12 build = "build.rs" 13 14 [lib] 15 name = "selectors" 16 path = "lib.rs" 17 18 [features] 19 bench = [] 20 to_shmem = ["dep:to_shmem", "dep:to_shmem_derive"] 21 22 [dependencies] 23 bitflags = "2" 24 cssparser = "0.36" 25 derive_more = { version = "2", features = ["add", "add_assign"] } 26 rustc-hash = "2.1.1" 27 log = "0.4" 28 phf = "0.13" 29 precomputed-hash = "0.1" 30 servo_arc = { version = "0.4", path = "../servo_arc" } 31 smallvec = "1.0" 32 to_shmem = { version = "0.1", path = "../to_shmem", features = ["servo_arc"], optional = true } 33 to_shmem_derive = { version = "0.1", path = "../to_shmem_derive", optional = true } 34 new_debug_unreachable = "1" 35 36 [build-dependencies] 37 phf_codegen = "0.13"