Decision Workspace
enum2str vs enum_stringify vs str_enum
Side-by-side comparison of Rust crates
50
enum2str
growingv0.1.18
enum2str is a rust derive macro that creates a Display impl for enums. This is useful for strongly typing composable sets of strings.
49
enum_stringify
growingv0.6.4
Macro to generate string conversion functions for enums
49
str_enum
experimentalv0.3.2
Simple declarative macro for an enum with associated strings for each variant
Core Metrics
| enum2str | enum_stringify | str_enum | |
|---|---|---|---|
| Health Score | 50 | 49 | 49 |
| Total Downloads | 62.8K | 47.8K | 74 |
| 30d Downloads | 582 | 1.3K | 74 |
| Dependents | 35 | 26 | 0 |
| Releases | 19 | 12 | 5 |
| Last Updated | 171d ago | 292d ago | 18d ago |
| Age | 3y | 2y 6m | 28d |
Health Breakdown
enum2str
Maintenance
11
Quality
16
Community
7
Popularity
6
Documentation
10
enum_stringify
Maintenance
9
Quality
14
Community
7
Popularity
6
Documentation
13
str_enum
Maintenance
12
Quality
15
Community
5
Popularity
2
Documentation
15
Technical Details
| enum2str | enum_stringify | str_enum | |
|---|---|---|---|
| Version | 0.1.18 | 0.6.4 | 0.3.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 5 | 4 |
| Crate Size | 7KB | 17KB | 14KB |
| Features | 1 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.87 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum2str leads with a health score of 50/100, but none of the options score above 80.