Decision Workspace
enum-variants-strings vs enum_stringify vs variants
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
49
enum_stringify
growingv0.6.4
Macro to generate string conversion functions for enums
49
variants
growingv0.0.1
Useful interfaces and macros for working with enums in Rust.
Core Metrics
| enum-variants-strings | enum_stringify | variants | |
|---|---|---|---|
| Health Score | 46 | 49 | 49 |
| Total Downloads | 107.1K | 47.8K | 3.8K |
| 30d Downloads | 12.2K | 1.3K | 431 |
| Dependents | 64 | 26 | 53 |
| Releases | 6 | 12 | 2 |
| Last Updated | 756d ago | 292d ago | 214d ago |
| Age | 4y 3m | 2y 6m | 1y 3m |
Health Breakdown
enum-variants-strings
Maintenance
5
Quality
15
Community
10
Popularity
6
Documentation
10
enum_stringify
Maintenance
9
Quality
14
Community
7
Popularity
6
Documentation
13
variants
Maintenance
8
Quality
17
Community
8
Popularity
4
Documentation
12
Technical Details
| enum-variants-strings | enum_stringify | variants | |
|---|---|---|---|
| Version | 0.3.0 | 0.6.4 | 0.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 1 | 5 | 5 |
| Crate Size | 2KB | 17KB | 10KB |
| Features | 0 | 0 | 8 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum_stringify leads with a health score of 49/100, but none of the options score above 80.
- •enum-variants-strings has the most downloads (107.1K), suggesting wider adoption.
- •⚠ enum-variants-strings has not been updated in over a year.