Decision Workspace
bijective-enum-map vs into_variant vs enum-mapping-macro
Side-by-side comparison of Rust crates
41
bijective-enum-map
experimentalv0.1.0
Convert an enum to and from another type, with From (or TryFrom)
39
into_variant
growingv0.3.0
Easily convert your types into the corresponding enum variant
39
enum-mapping-macro
growingv0.1.1
Maps enum variants to numbers and viceversa
Core Metrics
| bijective-enum-map | into_variant | enum-mapping-macro | |
|---|---|---|---|
| Health Score | 41 | 39 | 39 |
| Total Downloads | 944 | 7.0K | 2.5K |
| 30d Downloads | 93 | 133 | 10 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 4 | 2 |
| Last Updated | 327d ago | 1413d ago | 579d ago |
| Age | 10m | 3y 11m | 1y 7m |
Health Breakdown
bijective-enum-map
Maintenance
3
Quality
16
Community
6
Popularity
4
Documentation
12
into_variant
Maintenance
4
Quality
15
Community
5
Popularity
5
Documentation
10
enum-mapping-macro
Maintenance
5
Quality
15
Community
5
Popularity
4
Documentation
10
Technical Details
| bijective-enum-map | into_variant | enum-mapping-macro | |
|---|---|---|---|
| Version | 0.1.0 | 0.3.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | BSD-2-Clause |
| Dependencies | 0 | 2 | 3 |
| Crate Size | 14KB | 5KB | 4KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.56 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bijective-enum-map leads with a health score of 41/100, but none of the options score above 80.
- •into_variant has the most downloads (7.0K), suggesting wider adoption.
- •⚠ into_variant, enum-mapping-macro have not been updated in over a year.