Decision Workspace
wgsl-tmpl vs wgsl-rs vs wgsl-macro
Side-by-side comparison of Rust crates
44
wgsl-tmpl
experimentalv0.1.0
Include, conditional and substitution preprocessing for WGSL shader sources, usable from build scripts
54
wgsl-rs
experimentalv0.1.0-beta.3
Write WGSL shaders in a subset of Rust: CPU-runnable, GPU-rendered, with wgpu runtime linkage.
46
wgsl-macro
growingv0.4.0
A WGSL shader preprocessor supporting #import, #ifdef, and compile-time constants.
Core Metrics
| wgsl-tmpl | wgsl-rs | wgsl-macro | |
|---|---|---|---|
| Health Score | 44 | 54 | 46 |
| Total Downloads | 15 | 133 | 2.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 2 | 0 |
| Releases | 1 | 4 | 8 |
| Last Updated | 10d ago | 7d ago | 219d ago |
| Age | 10d | 10m | 1y 3m |
Health Breakdown
wgsl-tmpl
Maintenance
12
Quality
12
Community
7
Popularity
1
Documentation
12
wgsl-rs
Maintenance
18
Quality
14
Community
7
Popularity
3
Documentation
12
wgsl-macro
Maintenance
10
Quality
16
Community
6
Popularity
4
Documentation
10
Technical Details
| wgsl-tmpl | wgsl-rs | wgsl-macro | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0-beta.3 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 4 | 13 | 2 |
| Crate Size | 143KB | 178KB | 7KB |
| Features | 0 | 5 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.95.0 | 1.87 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •wgsl-rs leads with a health score of 54/100, but none of the options score above 80.
- •wgsl-macro has the most downloads (2.8K), suggesting wider adoption.