Decision Workspace
enum_parse vs repr-discriminant-derive vs serde-ordinal-derive
Side-by-side comparison of Rust crates
35
enum_parse
growingv0.1.0
Procedural macro generating boilerplate code for parsing enum variants
47
repr-discriminant-derive
growingv2.0.0
Derive macro to generate a method to access the discriminant of an enum variant with a repr(T) at runtime
42
serde-ordinal-derive
experimentalv0.1.1
Procedural macros for serializing and deserializing enum variants by their ordinal.
Core Metrics
| enum_parse | repr-discriminant-derive | serde-ordinal-derive | |
|---|---|---|---|
| Health Score | 35 | 47 | 42 |
| Total Downloads | 1.6K | 1.1K | 27 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 6 | 0 |
| Releases | 1 | 10 | 2 |
| Last Updated | 1015d ago | 241d ago | 2d ago |
| Age | 2y 9m | 8m | 2d |
Health Breakdown
enum_parse
Maintenance
1
Quality
14
Community
6
Popularity
4
Documentation
10
repr-discriminant-derive
Maintenance
11
Quality
12
Community
7
Popularity
4
Documentation
13
serde-ordinal-derive
Maintenance
14
Quality
13
Community
3
Popularity
2
Documentation
10
Technical Details
| enum_parse | repr-discriminant-derive | serde-ordinal-derive | |
|---|---|---|---|
| Version | 0.1.0 | 2.0.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 4 | 3 | 6 |
| Crate Size | 7KB | 3KB | 10KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 60.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •repr-discriminant-derive leads with a health score of 47/100, but none of the options score above 80.
- •enum_parse has the most downloads (1.6K), suggesting wider adoption.
- •⚠ enum_parse has not been updated in over a year.
- •enum_parse, serde-ordinal-derive are pre-1.0 — API may change.