Decision Workspace
auto-variants vs variants vs variants-derive
Side-by-side comparison of Rust crates
34
auto-variants
growingv0.1.0
A macro that exposes a function that returns all enum variants.
48
variants
growingv0.0.1
Useful interfaces and macros for working with enums in Rust.
44
variants-derive
growingv0.0.1
derive macros enabling the variants crate
Core Metrics
| auto-variants | variants | variants-derive | |
|---|---|---|---|
| Health Score | 34 | 48 | 44 |
| Total Downloads | 584 | 6.3K | 6.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 53 | 2 |
| Releases | 1 | 2 | 2 |
| Last Updated | 499d ago | 410d ago | 410d ago |
| Age | 1y 4m | 1y 10m | 1y 10m |
Health Breakdown
auto-variants
Maintenance
2
Quality
15
Community
6
Popularity
3
Documentation
8
variants
Maintenance
6
Quality
17
Community
8
Popularity
5
Documentation
12
variants-derive
Maintenance
6
Quality
17
Community
4
Popularity
5
Documentation
12
Technical Details
| auto-variants | variants | variants-derive | |
|---|---|---|---|
| Version | 0.1.0 | 0.0.1 | 0.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | Apache-2.0 | Apache-2.0 |
| Dependencies | 1 | 5 | 3 |
| Crate Size | 3KB | 10KB | 6KB |
| Features | 0 | 8 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.85.0 | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •variants leads with a health score of 48/100, but none of the options score above 80.
- •variants-derive has the most downloads (6.5K), suggesting wider adoption.
- •⚠ auto-variants, variants, variants-derive have not been updated in over a year.