Registry / utility / cssparser

cssparser

JSON →
library0.37.0rscratesunverified

Rust implementation of CSS Syntax Level 3, providing a low-level CSS tokenizer and parser.

# Cargo.toml [dependencies] cssparser = "0.37.0"
INSTALL
IMPORT
SIG · CSSPARSER
C
cssparser
utilityrustv0.37.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Parser
✓ use cssparser::Parser;

Parse a simple CSS declaration.

use cssparser::{Parser, ParserInput}; fn main() { let input = ParserInput::new("color: red;"); let mut parser = Parser::new(input); println!("Parsed CSS"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.37.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
cssparser — cargo add cssparser · libregistry