Decision Workspace
nagami vs naga-rust-embed vs wgsl-macro
Side-by-side comparison of Rust crates
48
nagami
experimentalv2026.7.1
Shrinks WGSL shaders via Naga IR optimization passes
50
naga-rust-embed
growingv0.2.0
Translates WGSL shader code to Rust embedded in your Rust code.
49
wgsl-macro
growingv0.4.0
A WGSL shader preprocessor supporting #import, #ifdef, and compile-time constants.
Core Metrics
| nagami | naga-rust-embed | wgsl-macro | |
|---|---|---|---|
| Health Score | 48 | 50 | 49 |
| Total Downloads | 222 | 877 | 2.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 14 | 2 | 8 |
| Last Updated | 1d ago | 60d ago | 130d ago |
| Age | 1m | 1y 3m | 1y |
Health Breakdown
nagami
Maintenance
13
Quality
16
Community
6
Popularity
3
Documentation
10
naga-rust-embed
Maintenance
13
Quality
15
Community
6
Popularity
4
Documentation
12
wgsl-macro
Maintenance
13
Quality
16
Community
6
Popularity
4
Documentation
10
Technical Details
| nagami | naga-rust-embed | wgsl-macro | |
|---|---|---|---|
| Version | 2026.7.1 | 0.2.0 | 0.4.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 6 | 2 |
| Crate Size | 526KB | 18KB | 7KB |
| Features | 3 | 1 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.87.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •naga-rust-embed leads with a health score of 50/100, but none of the options score above 80.
- •wgsl-macro has the most downloads (2.7K), suggesting wider adoption.
- •naga-rust-embed, wgsl-macro are pre-1.0 — API may change.