Decision Workspace
variants vs variants-derive vs variants-macros
Side-by-side comparison of Rust crates
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
39
variants-macros
experimentalv0.0.1
procedural macros supporting the variants crate
Core Metrics
| variants | variants-derive | variants-macros | |
|---|---|---|---|
| Health Score | 48 | 44 | 39 |
| Total Downloads | 4.7K | 4.8K | 3.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 53 | 2 | 1 |
| Releases | 2 | 2 | 1 |
| Last Updated | 273d ago | 273d ago | 273d ago |
| Age | 1y 5m | 1y 5m | 9m |
Health Breakdown
variants
Maintenance
7
Quality
17
Community
8
Popularity
4
Documentation
12
variants-derive
Maintenance
7
Quality
17
Community
4
Popularity
4
Documentation
12
variants-macros
Maintenance
3
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 48/100, but none of the options score above 80.
- •variants-derive has the most downloads (4.8K), suggesting wider adoption.