Decision Workspace
open-enum vs open-enum-derive vs enumn
Side-by-side comparison of Rust crates
48
open-enum
growingv0.5.2
An attribute for generating "open" fieldless enums, those that accept any integer value, by using a newtype struct and associated constants
46
open-enum-derive
growingv0.5.2
An attribute for generating "open" C-like enums, those that accept any integer value, by using a newtype struct and associated constants
55
enumn
growingv0.1.14
Convert number to enum
Core Metrics
| open-enum | open-enum-derive | enumn | |
|---|---|---|---|
| Health Score | 48 | 46 | 55 |
| Total Downloads | 1.2M | 1.2M | 27.7M |
| 30d Downloads | 70.8K | 70.9K | 995.7K |
| Dependents | 49 | 8 | 340 |
| Releases | 8 | 8 | 15 |
| Last Updated | 756d ago | 756d ago | 713d ago |
| Age | 3y 10m | 3y 10m | 7y 7m |
Health Breakdown
open-enum
Maintenance
4
Quality
16
Community
11
Popularity
7
Documentation
10
open-enum-derive
Maintenance
4
Quality
16
Community
9
Popularity
7
Documentation
10
enumn
Maintenance
5
Quality
15
Community
12
Popularity
8
Documentation
15
Technical Details
| open-enum | open-enum-derive | enumn | |
|---|---|---|---|
| Version | 0.5.2 | 0.5.2 | 0.1.14 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 3 | 3 |
| Crate Size | 12KB | 11KB | 8KB |
| Features | 2 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enumn leads with a health score of 55/100, but none of the options score above 80.
- •enumn is depended on by 340 crates — strongest ecosystem trust.
- •⚠ open-enum, open-enum-derive, enumn have not been updated in over a year.