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