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