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)
57
integer-encoding
growingv4.1.0
varint+zigzag and fixedint integer encoding/decoding (https://developers.google.com/protocol-buffers/docs/encoding)
65
varint-rs
stablev2.2.1
A small, zero dependency varint implementation in Rust.
Core Metrics
| dusk-varint | integer-encoding | varint-rs | |
|---|---|---|---|
| Health Score | 38 | 57 | 65 |
| Total Downloads | 37.6K | 113.1M | 17.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 7 | 1.7K | 274 |
| Releases | 1 | 42 | 18 |
| Last Updated | 1962d ago | 346d ago | 127d ago |
| Age | 5y 4m | 10y 4m | 5y 10m |
Health Breakdown
dusk-varint
Maintenance
1
Quality
15
Community
5
Popularity
5
Documentation
12
integer-encoding
Maintenance
8
Quality
17
Community
12
Popularity
8
Documentation
12
varint-rs
Maintenance
12
Quality
23
Community
13
Popularity
8
Documentation
9
Technical Details
| dusk-varint | integer-encoding | varint-rs | |
|---|---|---|---|
| Version | 0.1.0 | 4.1.0 | 2.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | 0BSD |
| Dependencies | 1 | 5 | 0 |
| Crate Size | 6KB | 13KB | 6KB |
| 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 65/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.
- •⚠ dusk-varint has not been updated in over a year.
- •dusk-varint is pre-1.0 — API may change.