#css-parser #css

macro csskit_proc_macro

Procedural macros for generating CSS parsers from grammar specifications

121 releases

Uses new Rust 2024

new 0.0.14-canary.fac2d44a37 Jan 4, 2026
0.0.14-canary.b91df5b9a8 Jan 3, 2026
0.0.11-canary.efc7e551f1 Dec 29, 2025
0.0.7-canary.f08affa44d Oct 27, 2025
0.0.4-canary… Sep 30, 2025

#67 in #css-parser

Download history 1507/week @ 2025-09-15 305/week @ 2025-09-22 2184/week @ 2025-09-29 685/week @ 2025-10-06 3022/week @ 2025-10-13 2606/week @ 2025-10-20 450/week @ 2025-10-27 8/week @ 2025-11-03 5/week @ 2025-12-01 53/week @ 2025-12-08 71/week @ 2025-12-15 37/week @ 2025-12-22 41/week @ 2025-12-29

205 downloads per month
Used in 6 crates (via css_ast)

MIT license

295KB
6K SLoC

csskit_proc_macro

Procedural macros for generating CSS parsers from grammar specifications.

📖 Full Documentation

Features

  • Grammar-driven generation: Generate parsers from CSS grammar specifications
  • CSSWG spec integration: Source grammars directly from CSS Working Group drafts

Part of csskit

This crate is part of the csskit project, a comprehensive CSS toolchain.

For more information, visit csskit.rs.

License

MIT

Dependencies

~0.8–1.3MB
~25K SLoC