4 releases
0.1.7 | May 13, 2023 |
---|---|
0.1.6 | May 13, 2023 |
0.1.5 | May 12, 2023 |
0.1.0 | May 12, 2023 |
#16 in #style-sheet
46 downloads per month
23KB
418 lines
Pest-CSS-Parser
Rust parser for css files using pest.
Usage
let input = r#"
span {
display: inline;
}
"#;
let stylesheet = StyleSheet::parse(input).unwrap();
assert_eq!(stylesheet.rules.len(), 1);
Examples
Task list
- Write documentation
- Create a writer
Dependencies
~4–6MB
~111K SLoC