Crate features / cssparser
Feature flags · cssparser 0.38.0 · from crates.io 2026-10-24
cssparser features: what each one does, and the line to copy
Short answercssparser 0.38.0 has 4 features. By default it turns on fast_match_byte, fast_match_color; add default-features = false to start from nothing. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
bench | nothing else (a switch the code checks) | |
fast_match_byte | yes | dep:cssparser-macros |
fast_match_color | yes | dep:phf |
skip_long_tests | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version cssparser declares (rust-version), and the release that changed it:
- 0.30.0 (2023-04-27): Rust 1.56
- 0.31.0 (2023-04-30): Rust 1.63
- 0.36.0 (2025-11-10): Rust 1.68
- 0.37.0 (2026-03-17): Rust 1.71
- 0.38.0 (2026-09-07): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p cssparser --precise <version>, or use resolver 3, which picks compatible versions for you.
More on cssparser
Real downloads, dependents and alternatives: cssparser crate data (431.2K real downloads a day, 223 dependents).
docs.rs feature list · crates.io · license MPL-2.0 · edition 2024
Up next
Before you depend on itcssparser crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?