$ cssparser
v0.37.0Rust implementation of CSS Syntax Level 3
Latest Update Summary
Crate
Name: cssparser New version: 0.36.0 Release date: 2025-11-10T06:01:09.857100Z
Crate readme
Short description Rust implementation of CSS Syntax Module Level 3
Long description rust-cssparser provides a way to parse CSS, including steps such as detecting character encoding, tokenization, and transforming tokens into component values. It does not handle the final full CSS parsing step, which varies based on user requirements. It offers helper functions for parsing CSS colors and nth-child selectors.
Features • Tokenization that transforms Unicode text into a stream of tokens • Parsing component values into generic rules or declarations • Support for parsing CSS colors • Helper functions for nth-child selectors
Code Examples
Links • https://docs.rs/cssparser • https://github.com/servo/stylo/tree/main/style • https://drafts.csswg.org/css-syntax/
https://docs.rs/cssparser/ https://api.github.com/repos/servo/rust-cssparser/releases/207255183
Release info
Release version:
Release description
Code Examples
Minor update: 0.36.0 → 0.37.0
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add cssparserOr add to Cargo.toml: cssparser = "0.37.0"