Decision Workspace
wgsl-minifier vs include-wgsl-oil vs wgsl_preprocessor
Side-by-side comparison of Rust crates
43
wgsl-minifier
growingv0.7.0
A command-line tool for minifying WGSL shaders.
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
| wgsl-minifier | include-wgsl-oil | wgsl_preprocessor | |
|---|---|---|---|
| Health Score | 43 | 48 | 46 |
| Total Downloads | 23.6K | 26.6K | 10.6K |
| 30d Downloads | 166 | 287 | 43 |
| Dependents | 26 | 13 | 0 |
| Releases | 15 | 11 | 8 |
| Last Updated | 351d ago | 351d ago | 585d ago |
| Age | 2y 7m | 2y 7m | 3y 8m |
Health Breakdown
wgsl-minifier
Maintenance
8
Quality
10
Community
10
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
| wgsl-minifier | include-wgsl-oil | wgsl_preprocessor | |
|---|---|---|---|
| Version | 0.7.0 | 0.2.9 | 1.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | GPL-2.0-or-later |
| Dependencies | 4 | 14 | 7 |
| Crate Size | 10KB | 18KB | 19KB |
| Features | 1 | 4 | 3 |
| Yanked % | 26.7% | 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.
- •wgsl-minifier, include-wgsl-oil are pre-1.0 — API may change.