Decision Workspace
variants vs variants-derive vs variants-macros
Side-by-side comparison of Rust crates
49
variants
growingv0.0.1
Useful interfaces and macros for working with enums in Rust.
45
variants-derive
growingv0.0.1
derive macros enabling the variants crate
40
variants-macros
experimentalv0.0.1
procedural macros supporting the variants crate
Core Metrics
| variants | variants-derive | variants-macros | |
|---|---|---|---|
| Health Score | 49 | 45 | 40 |
| Total Downloads | 3.8K | 3.9K | 2.9K |
| 30d Downloads | 431 | 449 | 428 |
| Dependents | 53 | 2 | 1 |
| Releases | 2 | 2 | 1 |
| Last Updated | 214d ago | 214d ago | 214d ago |
| Age | 1y 3m | 1y 3m | 7m |
Health Breakdown
variants
Maintenance
8
Quality
17
Community
8
Popularity
4
Documentation
12
variants-derive
Maintenance
8
Quality
17
Community
4
Popularity
4
Documentation
12
variants-macros
Maintenance
4
Quality
16
Community
4
Popularity
4
Documentation
12
Technical Details
| variants | variants-derive | variants-macros | |
|---|---|---|---|
| Version | 0.0.1 | 0.0.1 | 0.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 5 | 3 | 3 |
| Crate Size | 10KB | 6KB | 3KB |
| Features | 8 | 4 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85.0 | 1.85.0 | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •variants leads with a health score of 49/100, but none of the options score above 80.
- •variants-derive has the most downloads (3.9K), suggesting wider adoption.