Decision Workspace
bytes-varint vs varing vs integer-encoding
Side-by-side comparison of Rust crates
50
bytes-varint
growingv1.1.0
variable-length integer encoding (protobuf-style) for the `bytes` crate
63
varing
experimentalv0.13.0
Protobuf's varint encoding/decoding for LEB128 friendly types with full const context operations supports.
60
integer-encoding
growingv4.1.0
varint+zigzag and fixedint integer encoding/decoding (https://developers.google.com/protocol-buffers/docs/encoding)
Core Metrics
| bytes-varint | varing | integer-encoding | |
|---|---|---|---|
| Health Score | 50 | 63 | 60 |
| Total Downloads | 17.1M | 15.0K | 76.1M |
| 30d Downloads | 861.1K | 2.0K | 5.4M |
| Dependents | 2 | 23 | 1.3K |
| Releases | 5 | 16 | 42 |
| Last Updated | 522d ago | 3d ago | 150d ago |
| Age | 3y | 12m | 9y 9m |
Health Breakdown
bytes-varint
Maintenance
5
Quality
20
Community
4
Popularity
8
Documentation
13
varing
Maintenance
19
Quality
14
Community
10
Popularity
5
Documentation
15
integer-encoding
Maintenance
11
Quality
17
Community
12
Popularity
8
Documentation
12
Technical Details
| bytes-varint | varing | integer-encoding | |
|---|---|---|---|
| Version | 1.1.0 | 0.13.0 | 4.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 29 | 5 |
| Crate Size | 7KB | 68KB | 13KB |
| Features | 0 | 31 | 2 |
| Yanked % | 0.0% | 0.0% | 16.7% |
| Edition | 2021 | 2024 | 2018 |
| MSRV | — | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •varing leads with a health score of 63/100, but none of the options score above 80.
- •integer-encoding has the most downloads (76.1M), suggesting wider adoption.
- •integer-encoding is depended on by 1.3K crates — strongest ecosystem trust.
- •⚠ bytes-varint has not been updated in over a year.
- •varing is pre-1.0 — API may change.