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