Decision Workspace
enum-tools vs derive-try-from-primitive vs enum-primitive-derive
Side-by-side comparison of Rust crates
45
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 | 45 | 51 | 47 |
| Total Downloads | 8.8K | 4.8M | 8.9M |
| 30d Downloads | 104 | 369.2K | 442.5K |
| Dependents | 10 | 54 | 668 |
| Releases | 6 | 2 | 7 |
| Last Updated | 423d ago | 2189d ago | 857d ago |
| Age | 3y 5m | 8y 8m | 8y 7m |
Health Breakdown
enum-tools
Maintenance
6
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 (8.9M), suggesting wider adoption.
- •enum-primitive-derive is depended on by 668 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.