Decision Workspace
enum_parse vs repr-discriminant-derive vs serializable_enum
Side-by-side comparison of Rust crates
35
enum_parse
growingv0.1.0
Procedural macro generating boilerplate code for parsing enum variants
54
repr-discriminant-derive
growingv2.0.1
Derive macro to generate a method to access the discriminant of an enum variant with a repr(T) at runtime
41
serializable_enum
growingv0.4.0
Two macros for implementing serialization / deserialization for enums containing no data variants
Core Metrics
| enum_parse | repr-discriminant-derive | serializable_enum | |
|---|---|---|---|
| Health Score | 35 | 54 | 41 |
| Total Downloads | 1.6K | 2.4K | 36.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 7 | 16 |
| Releases | 1 | 11 | 5 |
| Last Updated | 1103d ago | 10d ago | 3412d ago |
| Age | 3y | 11m | 10y 7m |
Health Breakdown
enum_parse
Maintenance
1
Quality
14
Community
6
Popularity
4
Documentation
10
repr-discriminant-derive
Maintenance
18
Quality
12
Community
7
Popularity
4
Documentation
13
serializable_enum
Maintenance
3
Quality
16
Community
6
Popularity
5
Documentation
11
Technical Details
| enum_parse | repr-discriminant-derive | serializable_enum | |
|---|---|---|---|
| Version | 0.1.0 | 2.0.1 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT/Apache-2.0 |
| Dependencies | 4 | 3 | 3 |
| Crate Size | 7KB | 3KB | 9KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 54.5% | 0.0% |
| Edition | 2021 | 2024 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •repr-discriminant-derive leads with a health score of 54/100, but none of the options score above 80.
- •serializable_enum has the most downloads (36.9K), suggesting wider adoption.
- •⚠ enum_parse, serializable_enum have not been updated in over a year.
- •enum_parse, serializable_enum are pre-1.0 — API may change.