Decision Workspace
enum-variants-strings vs enum_stringify vs cognomen
Side-by-side comparison of Rust crates
46
enum-variants-strings
growingv0.3.0
Derive macro for converting instances of enums to and from strs using variant names
53
enum_stringify
growingv0.6.5
Macro to generate string conversion functions for enums
52
cognomen
experimentalv0.5.1
Derive stable, case-configured string labels for enum variants.
Core Metrics
| enum-variants-strings | enum_stringify | cognomen | |
|---|---|---|---|
| Health Score | 46 | 53 | 52 |
| Total Downloads | 160.0K | 64.4K | 1.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 65 | 53 | 0 |
| Releases | 6 | 13 | 6 |
| Last Updated | 953d ago | 152d ago | 49d ago |
| Age | 4y 9m | 3y | 1m |
Health Breakdown
enum-variants-strings
Maintenance
5
Quality
15
Community
10
Popularity
6
Documentation
10
enum_stringify
Maintenance
12
Quality
14
Community
8
Popularity
6
Documentation
13
cognomen
Maintenance
11
Quality
16
Community
6
Popularity
4
Documentation
15
Technical Details
| enum-variants-strings | enum_stringify | cognomen | |
|---|---|---|---|
| Version | 0.3.0 | 0.6.5 | 0.5.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 5 | 7 |
| Crate Size | 2KB | 18KB | 23KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.71.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum_stringify leads with a health score of 53/100, but none of the options score above 80.
- •enum-variants-strings has the most downloads (160.0K), suggesting wider adoption.
- •⚠ enum-variants-strings has not been updated in over a year.