Decision Workspace
lf-gfx vs include-wgsl-oil vs wgsl_preprocessor
Side-by-side comparison of Rust crates
43
lf-gfx
growingv0.9.0
A collection of utilities that we use.
48
include-wgsl-oil
growingv0.2.9
Includes a WGSL file with the `naga-oil` preprocessor.
46
wgsl_preprocessor
growingv1.1.4
An unofficial preprocessor for WGSL written in Rust for WGPU.
Core Metrics
| lf-gfx | include-wgsl-oil | wgsl_preprocessor | |
|---|---|---|---|
| Health Score | 43 | 48 | 46 |
| Total Downloads | 19.0K | 26.6K | 10.6K |
| 30d Downloads | 20 | 287 | 43 |
| Dependents | 0 | 13 | 0 |
| Releases | 17 | 11 | 8 |
| Last Updated | 128d ago | 351d ago | 585d ago |
| Age | 2y 6m | 2y 7m | 3y 8m |
Health Breakdown
lf-gfx
Maintenance
13
Quality
9
Community
6
Popularity
5
Documentation
10
include-wgsl-oil
Maintenance
9
Quality
15
Community
9
Popularity
5
Documentation
10
wgsl_preprocessor
Maintenance
4
Quality
21
Community
6
Popularity
5
Documentation
10
Technical Details
| lf-gfx | include-wgsl-oil | wgsl_preprocessor | |
|---|---|---|---|
| Version | 0.9.0 | 0.2.9 | 1.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | GPL-2.0-or-later |
| Dependencies | 17 | 14 | 7 |
| Crate Size | 44KB | 18KB | 19KB |
| Features | 0 | 4 | 3 |
| Yanked % | 5.9% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •include-wgsl-oil leads with a health score of 48/100, but none of the options score above 80.
- •⚠ wgsl_preprocessor has not been updated in over a year.
- •lf-gfx, include-wgsl-oil are pre-1.0 — API may change.