Decision Workspace
enum-tools vs derive-try-from-primitive vs enum-primitive-derive
Side-by-side comparison of Rust crates
44
enum-tools
growingv0.5.5
Automatically derive functions and trait implementations for enums
51
derive-try-from-primitive
growingv1.0.0
Custom derive a try_from method for primitive to enum conversions
47
enum-primitive-derive
growingv0.3.0
enum_primitive implementation using procedural macros to have a custom derive
Core Metrics
| enum-tools | derive-try-from-primitive | enum-primitive-derive | |
|---|---|---|---|
| Health Score | 44 | 51 | 47 |
| Total Downloads | 9.4K | 8.1M | 12.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 10 | 54 | 738 |
| Releases | 6 | 2 | 7 |
| Last Updated | 619d ago | 2385d ago | 1053d ago |
| Age | 3y 12m | 9y 3m | 9y 1m |
Health Breakdown
enum-tools
Maintenance
5
Quality
14
Community
8
Popularity
5
Documentation
12
derive-try-from-primitive
Maintenance
3
Quality
20
Community
8
Popularity
8
Documentation
12
enum-primitive-derive
Maintenance
4
Quality
11
Community
13
Popularity
8
Documentation
11
Technical Details
| enum-tools | derive-try-from-primitive | enum-primitive-derive | |
|---|---|---|---|
| Version | 0.5.5 | 1.0.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT/Apache-2.0 | MIT |
| Dependencies | 5 | 3 | 3 |
| Crate Size | 29KB | 3KB | 5KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 14.3% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | 1.58.1 | — | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •derive-try-from-primitive leads with a health score of 51/100, but none of the options score above 80.
- •enum-primitive-derive has the most downloads (12.8M), suggesting wider adoption.
- •enum-primitive-derive is depended on by 738 crates — strongest ecosystem trust.
- •⚠ enum-tools, derive-try-from-primitive, enum-primitive-derive have not been updated in over a year.
- •enum-tools, enum-primitive-derive are pre-1.0 — API may change.