Decision Workspace
enum-repr-conv vs num_enum vs human_bytes
Side-by-side comparison of Rust crates
35
enum-repr-conv
experimentalv0.1.0
enum_repr_conv is a proc-macro library that provides a convenient attribute-style `repr_conv()` macro to specify a primitive integer type used for representing variants of the annotated fieldless enum as values of this type.
67
num_enum
growingv0.7.6
Procedural macros to make inter-operation between primitives and enums easier.
52
human_bytes
growingv0.4.3
Crate to convert bytes into human-readable values
Core Metrics
| enum-repr-conv | num_enum | human_bytes | |
|---|---|---|---|
| Health Score | 35 | 67 | 52 |
| Total Downloads | 35 | 179.9M | 5.5M |
| 30d Downloads | 3 | 12.6M | 367.8K |
| Dependents | 0 | 11.5K | 659 |
| Releases | 1 | 33 | 9 |
| Last Updated | 125d ago | 12d ago | 929d ago |
| Age | 4m | 7y 4m | 6y 1m |
Health Breakdown
enum-repr-conv
Maintenance
7
Quality
13
Community
3
Popularity
2
Documentation
10
num_enum
Maintenance
18
Quality
15
Community
14
Popularity
8
Documentation
12
human_bytes
Maintenance
5
Quality
17
Community
13
Popularity
8
Documentation
9
Technical Details
| enum-repr-conv | num_enum | human_bytes | |
|---|---|---|---|
| Version | 0.1.0 | 0.7.6 | 0.4.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSL-1.0 | BSD-3-Clause OR MIT OR Apache-2.0 | BSD-2-Clause |
| Dependencies | 4 | 6 | 3 |
| Crate Size | 8KB | 22KB | 6KB |
| Features | 0 | 4 | 4 |
| Yanked % | 0.0% | 3.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.61 | 1.70.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •num_enum leads with a health score of 67/100, but none of the options score above 80.
- •num_enum is depended on by 11.5K crates — strongest ecosystem trust.
- •⚠ human_bytes has not been updated in over a year.