Decision Workspace
spirv_headers vs spirv vs struct-to-enum-macros
Side-by-side comparison of Rust crates
54
spirv_headers
growingv1.5.0
Rust definition of SPIR-V structs and enums
52
spirv
growingv0.4.0+sdk-1.4.341.0
Rust definition of SPIR-V structs and enums
53
struct-to-enum-macros
growingv1.1.2
Derive macros for generating enums from structs.
Core Metrics
| spirv_headers | spirv | struct-to-enum-macros | |
|---|---|---|---|
| Health Score | 54 | 52 | 53 |
| Total Downloads | 1.4M | 36.4M | 3.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 87 | 205 | 4 |
| Releases | 15 | 5 | 4 |
| Last Updated | 1983d ago | 210d ago | 205d ago |
| Age | 9y 8m | 10y 11m | 7m |
Health Breakdown
spirv_headers
Maintenance
5
Quality
18
Community
12
Popularity
7
Documentation
12
spirv
Maintenance
7
Quality
12
Community
13
Popularity
8
Documentation
12
struct-to-enum-macros
Maintenance
11
Quality
19
Community
7
Popularity
4
Documentation
12
Technical Details
| spirv_headers | spirv | struct-to-enum-macros | |
|---|---|---|---|
| Version | 1.5.0 | 0.4.0+sdk-1.4.341.0 | 1.1.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 2 | 7 |
| Crate Size | 28KB | 41KB | 14KB |
| Features | 2 | 2 | 3 |
| Yanked % | 13.3% | 20.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | 1.71.0 |
| Owners | 4 | 7 | 1 |
Links
Quick Verdict
- •spirv_headers leads with a health score of 54/100, but none of the options score above 80.
- •spirv has the most downloads (36.4M), suggesting wider adoption.
- •spirv is depended on by 205 crates — strongest ecosystem trust.
- •⚠ spirv_headers has not been updated in over a year.
- •spirv is pre-1.0 — API may change.