Decision Workspace
wgsl-macro vs nagami vs wgslender-core
Side-by-side comparison of Rust crates
46
wgsl-macro
growingv0.4.0
A WGSL shader preprocessor supporting #import, #ifdef, and compile-time constants.
53
nagami
experimentalv2026.11.0
Shrinks WGSL shaders via Naga IR optimization passes
53
wgslender-core
experimentalv1.5.1
Safe Rust API over the wgslender WGSL minifier C library. Implementation detail of the `wgslender` crate.
Core Metrics
| wgsl-macro | nagami | wgslender-core | |
|---|---|---|---|
| Health Score | 46 | 53 | 53 |
| Total Downloads | 2.8K | 402 | 188 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 12 |
| Releases | 8 | 24 | 6 |
| Last Updated | 219d ago | 14d ago | 10d ago |
| Age | 1y 3m | 4m | 2m |
Health Breakdown
wgsl-macro
Maintenance
10
Quality
16
Community
6
Popularity
4
Documentation
10
nagami
Maintenance
18
Quality
16
Community
6
Popularity
3
Documentation
10
wgslender-core
Maintenance
12
Quality
17
Community
9
Popularity
3
Documentation
12
Technical Details
| wgsl-macro | nagami | wgslender-core | |
|---|---|---|---|
| Version | 0.4.0 | 2026.11.0 | 1.5.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | CC0-1.0 |
| Dependencies | 2 | 6 | 6 |
| Crate Size | 7KB | 559KB | 37KB |
| Features | 1 | 3 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nagami leads with a health score of 53/100, but none of the options score above 80.
- •wgsl-macro has the most downloads (2.8K), suggesting wider adoption.
- •wgsl-macro is pre-1.0 — API may change.