Decision Workspace
indexed_valued_enums_derive vs indexed_valued_enums vs try-from-discrim
Side-by-side comparison of Rust crates
50
indexed_valued_enums_derive
growingv2.0.0
Derive macro for the indexed_valued_enums crate.
49
indexed_valued_enums
stablev2.0.0
Create enums resolving into values, and get their variants back through their values, their discriminant or their name; inspired by Java.
43
try-from-discrim
growingv1.0.0
#[derive(TryFrom / From)] using enum discriminants, with fallback support.
Core Metrics
| indexed_valued_enums_derive | indexed_valued_enums | try-from-discrim | |
|---|---|---|---|
| Health Score | 50 | 49 | 43 |
| Total Downloads | 2.3K | 10.7K | 5.4K |
| 30d Downloads | 43 | 40 | 84 |
| Dependents | 4 | 0 | 5 |
| Releases | 2 | 9 | 1 |
| Last Updated | 96d ago | 96d ago | 1275d ago |
| Age | 2y | 2y 3m | 3y 6m |
Health Breakdown
indexed_valued_enums_derive
Maintenance
11
Quality
20
Community
7
Popularity
4
Documentation
8
indexed_valued_enums
Maintenance
13
Quality
17
Community
6
Popularity
5
Documentation
8
try-from-discrim
Maintenance
1
Quality
20
Community
8
Popularity
4
Documentation
10
Technical Details
| indexed_valued_enums_derive | indexed_valued_enums | try-from-discrim | |
|---|---|---|---|
| Version | 2.0.0 | 2.0.0 | 1.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | non-standard | non-standard | MPL-2.0 |
| Dependencies | 6 | 3 | 3 |
| Crate Size | 22KB | 17KB | 11KB |
| Features | 1 | 7 | 0 |
| Yanked % | 0.0% | 44.4% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •indexed_valued_enums_derive leads with a health score of 50/100, but none of the options score above 80.
- •indexed_valued_enums has the most downloads (10.7K), suggesting wider adoption.
- •⚠ try-from-discrim has not been updated in over a year.