Decision Workspace
enum-mapping-macro vs bijective-enum-map vs caret
Side-by-side comparison of Rust crates
39
enum-mapping-macro
growingv0.1.1
Maps enum variants to numbers and viceversa
41
bijective-enum-map
experimentalv0.1.0
Convert an enum to and from another type, with From (or TryFrom)
71
caret
growingv0.9.0
Macros for declaring non-exhaustive C-style enumerations, with named members
Core Metrics
| enum-mapping-macro | bijective-enum-map | caret | |
|---|---|---|---|
| Health Score | 39 | 41 | 71 |
| Total Downloads | 2.5K | 944 | 352.1K |
| 30d Downloads | 10 | 93 | 30.9K |
| Dependents | 0 | 0 | 273 |
| Releases | 2 | 1 | 30 |
| Last Updated | 579d ago | 327d ago | 24d ago |
| Age | 1y 7m | 10m | 4y 9m |
Health Breakdown
enum-mapping-macro
Maintenance
5
Quality
15
Community
5
Popularity
4
Documentation
10
bijective-enum-map
Maintenance
3
Quality
16
Community
6
Popularity
4
Documentation
12
caret
Maintenance
20
Quality
17
Community
15
Popularity
7
Documentation
12
Technical Details
| enum-mapping-macro | bijective-enum-map | caret | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.0 | 0.9.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-2-Clause | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 0 | 0 |
| Crate Size | 4KB | 14KB | 4KB |
| Features | 0 | 1 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.56 | 1.89 |
| Owners | 1 | 1 | 4 |
Links
Quick Verdict
- •caret leads with a health score of 71/100, but none of the options score above 80.
- •caret is depended on by 273 crates — strongest ecosystem trust.
- •⚠ enum-mapping-macro has not been updated in over a year.