Decision Workspace
wgsl-macro vs oak-wgsl vs include-wgsl-oil
Side-by-side comparison of Rust crates
53
wgsl-macro
experimentalv0.4.0
A WGSL shader preprocessor supporting #import, #ifdef, and compile-time constants.
54
oak-wgsl
experimentalv0.0.10
WGSL language parser with support for modern shader programming and WebGPU features.
48
include-wgsl-oil
growingv0.2.9
Includes a WGSL file with the `naga-oil` preprocessor.
Core Metrics
| wgsl-macro | oak-wgsl | include-wgsl-oil | |
|---|---|---|---|
| Health Score | 53 | 54 | 48 |
| Total Downloads | 2.7K | 291 | 26.6K |
| 30d Downloads | 25 | 62 | 277 |
| Dependents | 0 | 0 | 13 |
| Releases | 8 | 10 | 11 |
| Last Updated | 22d ago | 3d ago | 351d ago |
| Age | 8m | 5m | 2y 7m |
Health Breakdown
wgsl-macro
Maintenance
18
Quality
15
Community
6
Popularity
4
Documentation
10
oak-wgsl
Maintenance
19
Quality
14
Community
5
Popularity
3
Documentation
13
include-wgsl-oil
Maintenance
9
Quality
15
Community
9
Popularity
5
Documentation
10
Technical Details
| wgsl-macro | oak-wgsl | include-wgsl-oil | |
|---|---|---|---|
| Version | 0.4.0 | 0.0.10 | 0.2.9 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MPL-2.0 | MIT |
| Dependencies | 2 | 10 | 14 |
| Crate Size | 7KB | 28KB | 18KB |
| Features | 1 | 4 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •oak-wgsl leads with a health score of 54/100, but none of the options score above 80.
- •include-wgsl-oil has the most downloads (26.6K), suggesting wider adoption.