Decision Workspace
varint-rs vs integer-encoding vs varint
Side-by-side comparison of Rust crates
64
varint-rs
stablev2.2.0
A small, zero dependency varint implementation in Rust.
60
integer-encoding
growingv4.1.0
varint+zigzag and fixedint integer encoding/decoding (https://developers.google.com/protocol-buffers/docs/encoding)
44
varint
growingv0.9.0
A Rust implementation of Google Protobuf's Variable-Length Integers
Core Metrics
| varint-rs | integer-encoding | varint | |
|---|---|---|---|
| Health Score | 64 | 60 | 44 |
| Total Downloads | 15.7M | 76.1M | 76.9K |
| 30d Downloads | 924.6K | 5.4M | 4.0K |
| Dependents | 208 | 1.3K | 102 |
| Releases | 17 | 42 | 4 |
| Last Updated | 1948d ago | 150d ago | 3759d ago |
| Age | 5y 4m | 9y 9m | 10y 7m |
Health Breakdown
varint-rs
Maintenance
12
Quality
23
Community
12
Popularity
8
Documentation
9
integer-encoding
Maintenance
11
Quality
17
Community
12
Popularity
8
Documentation
12
varint
Maintenance
2
Quality
17
Community
8
Popularity
6
Documentation
11
Technical Details
| varint-rs | integer-encoding | varint | |
|---|---|---|---|
| Version | 2.2.0 | 4.1.0 | 0.9.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 0 | 5 | 2 |
| Crate Size | 9KB | 13KB | 6KB |
| Features | 3 | 2 | 2 |
| Yanked % | 0.0% | 16.7% | 0.0% |
| Edition | 2018 | 2018 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •varint-rs leads with a health score of 64/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.
- •⚠ varint-rs, varint have not been updated in over a year.
- •varint is pre-1.0 — API may change.