Decision Workspace
wgsl-macro vs oak-wgsl vs include-wgsl-oil
Side-by-side comparison of Rust crates
49
wgsl-macro
experimentalv0.4.0
A WGSL shader preprocessor supporting #import, #ifdef, and compile-time constants.
51
oak-wgsl
experimentalv0.0.11
WGSL language parser with support for modern shader programming and WebGPU features.
47
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 | 49 | 51 | 47 |
| Total Downloads | 2.7K | 316 | 27.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 13 |
| Releases | 8 | 11 | 11 |
| Last Updated | 82d ago | 57d ago | 410d ago |
| Age | 10m | 7m | 2y 9m |
Health Breakdown
wgsl-macro
Maintenance
14
Quality
15
Community
6
Popularity
4
Documentation
10
oak-wgsl
Maintenance
16
Quality
14
Community
5
Popularity
3
Documentation
13
include-wgsl-oil
Maintenance
8
Quality
15
Community
9
Popularity
5
Documentation
10
Technical Details
| wgsl-macro | oak-wgsl | include-wgsl-oil | |
|---|---|---|---|
| Version | 0.4.0 | 0.0.11 | 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 51/100, but none of the options score above 80.
- •include-wgsl-oil has the most downloads (27.2K), suggesting wider adoption.
- •⚠ include-wgsl-oil has not been updated in over a year.