Decision Workspace
odin-union vs caret vs enum_traits_macros
Side-by-side comparison of Rust crates
45
odin-union
experimentalv0.1.0
Dependency-free shorthand for Rust enums whose variants wrap same-named types
72
caret
growingv0.11.0
Macros for declaring non-exhaustive C-style enumerations, with named members
66
enum_traits_macros
stablev6.1.0
Procedural macros adding functionality to enums. Derives traits from the crate `enum_traits`
Core Metrics
| odin-union | caret | enum_traits_macros | |
|---|---|---|---|
| Health Score | 45 | 72 | 66 |
| Total Downloads | 23 | 1.1M | 16.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 330 | 7 |
| Releases | 1 | 33 | 12 |
| Last Updated | 90d ago | 8d ago | 3d ago |
| Age | 3m | 5y 3m | 11y 1m |
Health Breakdown
odin-union
Maintenance
8
Quality
15
Community
5
Popularity
2
Documentation
15
caret
Maintenance
21
Quality
17
Community
15
Popularity
7
Documentation
12
enum_traits_macros
Maintenance
16
Quality
24
Community
8
Popularity
5
Documentation
13
Technical Details
| odin-union | caret | enum_traits_macros | |
|---|---|---|---|
| Version | 0.1.0 | 0.11.0 | 6.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | GPL-3.0-or-later | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 3 |
| Crate Size | 16KB | 4KB | 29KB |
| Features | 0 | 1 | 54 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.92 | — |
| Owners | 1 | 4 | 1 |
Links
Quick Verdict
- •caret leads with a health score of 72/100, but none of the options score above 80.
- •caret is depended on by 330 crates — strongest ecosystem trust.
- •odin-union, caret are pre-1.0 — API may change.