#css-parser #css

macro csskit_proc_macro

Procedural macros for generating CSS parsers from grammar specifications

140 releases

Uses new Rust 2024

new 0.0.18-canary.f2744799a4 Feb 14, 2026
0.0.18-canary.ebb418d345 Feb 11, 2026
0.0.16 Jan 29, 2026
0.0.11-canary.efc7e551f1 Dec 29, 2025
0.0.4-canary… Sep 30, 2025

#69 in #css-parser

Download history 1629/week @ 2025-10-25 19/week @ 2025-11-01 2/week @ 2025-11-29 44/week @ 2025-12-06 30/week @ 2025-12-13 90/week @ 2025-12-20 27/week @ 2025-12-27 64/week @ 2026-01-03 2/week @ 2026-01-10 11/week @ 2026-01-17 20/week @ 2026-01-24 10/week @ 2026-01-31 10/week @ 2026-02-07

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

MIT license

310KB
6.5K 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

~1.2–1.8MB
~36K SLoC