Decision Workspace
blockscout-display-bytes vs const-hex vs hex_fmt
Side-by-side comparison of Rust crates
49
blockscout-display-bytes
growingv1.1.0
Wrapper type around Bytes to deserialize/serialize "0x" prefixed hex strings.
74
const-hex
stablev1.18.1
Fast byte array to hex string conversion
55
hex_fmt
growingv0.3.0
Formatting and shortening byte slices as hexadecimal strings
Core Metrics
| blockscout-display-bytes | const-hex | hex_fmt | |
|---|---|---|---|
| Health Score | 49 | 74 | 55 |
| Total Downloads | 21.3K | 30.2M | 11.0M |
| 30d Downloads | 592 | 3.1M | 726.5K |
| Dependents | 2 | 2.0K | 1.6K |
| Releases | 2 | 32 | 3 |
| Last Updated | 637d ago | 25d ago | 2647d ago |
| Age | 3y 4m | 2y 11m | 7y 5m |
Health Breakdown
blockscout-display-bytes
Maintenance
4
Quality
19
Community
11
Popularity
5
Documentation
10
const-hex
Maintenance
17
Quality
19
Community
15
Popularity
8
Documentation
15
hex_fmt
Maintenance
3
Quality
16
Community
19
Popularity
8
Documentation
9
Technical Details
| blockscout-display-bytes | const-hex | hex_fmt | |
|---|---|---|---|
| Version | 1.1.0 | 1.18.1 | 0.3.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 7 | 11 | 0 |
| Crate Size | 4KB | 35KB | 8KB |
| Features | 0 | 10 | 0 |
| Yanked % | 0.0% | 6.3% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.64 | — |
| Owners | 2 (team) | 1 | 3 |
Links
Quick Verdict
- •const-hex leads with a health score of 74/100, but none of the options score above 80.
- •const-hex is depended on by 2.0K crates — strongest ecosystem trust.
- •⚠ blockscout-display-bytes, hex_fmt have not been updated in over a year.
- •hex_fmt is pre-1.0 — API may change.