Decision Workspace
store_by_enum vs one-of vs caret
Side-by-side comparison of Rust crates
41
store_by_enum
experimentalv0.1.0
Type-safe data stores addressed and accessed using enums (in any order).
37
one-of
growingv0.2.3
Macro to represent a type that can be converted either `From` or `TryInto` the given types
71
caret
growingv0.9.0
Macros for declaring non-exhaustive C-style enumerations, with named members
Core Metrics
| store_by_enum | one-of | caret | |
|---|---|---|---|
| Health Score | 41 | 37 | 71 |
| Total Downloads | 17 | 6.8K | 352.1K |
| 30d Downloads | 3 | 16 | 31.4K |
| Dependents | 0 | 0 | 273 |
| Releases | 1 | 5 | 30 |
| Last Updated | 59d ago | 1850d ago | 24d ago |
| Age | 1m | 5y 4m | 4y 9m |
Health Breakdown
store_by_enum
Maintenance
10
Quality
14
Community
6
Popularity
1
Documentation
10
one-of
Maintenance
3
Quality
11
Community
6
Popularity
5
Documentation
12
caret
Maintenance
20
Quality
17
Community
15
Popularity
7
Documentation
12
Technical Details
| store_by_enum | one-of | caret | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.3 | 0.9.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MPL-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 0 | 0 |
| Crate Size | 4KB | 10KB | 4KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 20.0% | 0.0% |
| Edition | 2024 | 2018 | 2024 |
| MSRV | — | — | 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.
- •⚠ one-of has not been updated in over a year.