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
48
repr-discriminant-derive
experimentalv2.0.0
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 | 48 | 41 |
| Total Downloads | 1.5K | 565 | 35.9K |
| 30d Downloads | 4 | 66 | 1.7K |
| Dependents | 0 | 6 | 16 |
| Releases | 1 | 10 | 5 |
| Last Updated | 907d ago | 133d ago | 3216d ago |
| Age | 2y 5m | 4m | 10y 1m |
Health Breakdown
enum_parse
Maintenance
1
Quality
14
Community
6
Popularity
4
Documentation
10
repr-discriminant-derive
Maintenance
14
Quality
11
Community
7
Popularity
3
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.0 | 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% | 60.0% | 0.0% |
| Edition | 2021 | 2024 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •repr-discriminant-derive leads with a health score of 48/100, but none of the options score above 80.
- •serializable_enum has the most downloads (35.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.