Decision Workspace
const-varint vs varing vs integer-encoding
Side-by-side comparison of Rust crates
47
const-varint
growingv0.4.2+deprecated
(Deprecated) This crate is deprecated. Please use `varing` instead.
58
varing
growingv0.14.0
Protobuf's varint encoding/decoding for LEB128 friendly types with full const context operations supports.
57
integer-encoding
growingv4.1.0
varint+zigzag and fixedint integer encoding/decoding (https://developers.google.com/protocol-buffers/docs/encoding)
Core Metrics
| const-varint | varing | integer-encoding | |
|---|---|---|---|
| Health Score | 47 | 58 | 57 |
| Total Downloads | 22.3K | 40.0K | 113.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 7 | 18 | 1.7K |
| Releases | 12 | 17 | 42 |
| Last Updated | 558d ago | 85d ago | 346d ago |
| Age | 1y 8m | 1y 6m | 10y 4m |
Health Breakdown
const-varint
Maintenance
7
Quality
12
Community
8
Popularity
5
Documentation
15
varing
Maintenance
14
Quality
15
Community
9
Popularity
5
Documentation
15
integer-encoding
Maintenance
8
Quality
17
Community
12
Popularity
8
Documentation
12
Technical Details
| const-varint | varing | integer-encoding | |
|---|---|---|---|
| Version | 0.4.2+deprecated | 0.14.0 | 4.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 12 | 35 | 5 |
| Crate Size | 31KB | 91KB | 13KB |
| Features | 10 | 31 | 2 |
| Yanked % | 25.0% | 0.0% | 16.7% |
| Edition | 2021 | 2024 | 2018 |
| MSRV | 1.81.0 | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •varing leads with a health score of 58/100, but none of the options score above 80.
- •integer-encoding has the most downloads (113.1M), suggesting wider adoption.
- •integer-encoding is depended on by 1.7K crates — strongest ecosystem trust.
- •⚠ const-varint has not been updated in over a year.
- •const-varint, varing are pre-1.0 — API may change.