Decision Workspace
enum-try-from vs derive-try-from-primitive vs enum-repr-derive
Side-by-side comparison of Rust crates
35
enum-try-from
growingv0.0.1
Rust macros which create enums with TryFrom trait implementations
51
derive-try-from-primitive
growingv1.0.0
Custom derive a try_from method for primitive to enum conversions
41
enum-repr-derive
growingv0.2.0
Simple trait for converting enum to and from its primitive repr type
Core Metrics
| enum-try-from | derive-try-from-primitive | enum-repr-derive | |
|---|---|---|---|
| Health Score | 35 | 51 | 41 |
| Total Downloads | 34.4K | 4.8M | 174.2K |
| 30d Downloads | 2.5K | 383.1K | 22.3K |
| Dependents | 1 | 54 | 42 |
| Releases | 1 | 2 | 7 |
| Last Updated | 1221d ago | 2189d ago | 1703d ago |
| Age | 3y 4m | 8y 8m | 6y 2m |
Health Breakdown
enum-try-from
Maintenance
1
Quality
15
Community
4
Popularity
5
Documentation
10
derive-try-from-primitive
Maintenance
3
Quality
20
Community
8
Popularity
8
Documentation
12
enum-repr-derive
Maintenance
4
Quality
10
Community
9
Popularity
6
Documentation
12
Technical Details
| enum-try-from | derive-try-from-primitive | enum-repr-derive | |
|---|---|---|---|
| Version | 0.0.1 | 1.0.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT/Apache-2.0 | MIT |
| Dependencies | 1 | 3 | 6 |
| Crate Size | 4KB | 3KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 14.3% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | — |
| 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-try-from, derive-try-from-primitive, enum-repr-derive have not been updated in over a year.
- •enum-try-from, enum-repr-derive are pre-1.0 — API may change.