263 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.2-canary… | Jul 31, 2025 |
#2978 in Procedural macros
204 downloads per month
Used in 7 crates
(3 directly)
78KB
2.5K
SLoC
csskit_derives
Derive macros for CSS parsing, visiting, and AST operations.
Features
Parse: Automatically implement parsing logic for AST nodesPeek: Generate lookahead/peeking functionalityToCursors: Convert AST nodes to token cursorsToSpan: Generate span/source location trackingVisitable: Implement visitor pattern for AST traversal
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.6–1MB
~22K SLoC