Decision Workspace
wgsl-macro vs oak-wgsl vs nagami
Side-by-side comparison of Rust crates
49
wgsl-macro
growingv0.4.0
A WGSL shader preprocessor supporting #import, #ifdef, and compile-time constants.
49
oak-wgsl
experimentalv0.0.11
WGSL language parser with support for modern shader programming and WebGPU features.
48
nagami
experimentalv2026.7.1
Shrinks WGSL shaders via Naga IR optimization passes
Core Metrics
| wgsl-macro | oak-wgsl | nagami | |
|---|---|---|---|
| Health Score | 49 | 49 | 48 |
| Total Downloads | 2.7K | 342 | 222 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 8 | 11 | 14 |
| Last Updated | 130d ago | 106d ago | 1d ago |
| Age | 1y | 8m | 1m |
Health Breakdown
wgsl-macro
Maintenance
13
Quality
16
Community
6
Popularity
4
Documentation
10
oak-wgsl
Maintenance
14
Quality
14
Community
5
Popularity
3
Documentation
13
nagami
Maintenance
13
Quality
16
Community
6
Popularity
3
Documentation
10
Technical Details
| wgsl-macro | oak-wgsl | nagami | |
|---|---|---|---|
| Version | 0.4.0 | 0.0.11 | 2026.7.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MPL-2.0 | MIT |
| Dependencies | 2 | 10 | 5 |
| Crate Size | 7KB | 28KB | 526KB |
| Features | 1 | 4 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •wgsl-macro leads with a health score of 49/100, but none of the options score above 80.
- •wgsl-macro, oak-wgsl are pre-1.0 — API may change.