Decision Workspace
const-varint vs varing vs integer-encoding
Side-by-side comparison of Rust crates
48
const-varint
growingv0.4.2+deprecated
(Deprecated) This crate is deprecated. Please use `varing` instead.
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
| const-varint | varing | integer-encoding | |
|---|---|---|---|
| Health Score | 48 | 63 | 60 |
| Total Downloads | 21.3K | 15.0K | 76.1M |
| 30d Downloads | 434 | 2.0K | 5.4M |
| Dependents | 7 | 23 | 1.3K |
| Releases | 12 | 16 | 42 |
| Last Updated | 362d ago | 3d ago | 150d ago |
| Age | 1y 1m | 12m | 9y 9m |
Health Breakdown
const-varint
Maintenance
8
Quality
12
Community
8
Popularity
5
Documentation
15
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
| const-varint | varing | integer-encoding | |
|---|---|---|---|
| Version | 0.4.2+deprecated | 0.13.0 | 4.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 12 | 29 | 5 |
| Crate Size | 31KB | 68KB | 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 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.
- •const-varint, varing are pre-1.0 — API may change.