Decision Workspace
integer-encoding vs varinteger vs dusk-varint
Side-by-side comparison of Rust crates
60
integer-encoding
growingv4.1.0
varint+zigzag and fixedint integer encoding/decoding (https://developers.google.com/protocol-buffers/docs/encoding)
51
varinteger
growingv1.0.6
Rust module for encoding/decoding varints that doesn't do any IO. Inspired by the Node.js varint module
38
dusk-varint
growingv0.1.0
varint+zigzag integer encoding/decoding (no_std)
Core Metrics
| integer-encoding | varinteger | dusk-varint | |
|---|---|---|---|
| Health Score | 60 | 51 | 38 |
| Total Downloads | 76.1M | 325.5K | 28.3K |
| 30d Downloads | 5.4M | 34.3K | 1.0K |
| Dependents | 1.3K | 20 | 7 |
| Releases | 42 | 6 | 1 |
| Last Updated | 150d ago | 2817d ago | 1766d ago |
| Age | 9y 9m | 10y 2m | 4y 10m |
Health Breakdown
integer-encoding
Maintenance
11
Quality
17
Community
12
Popularity
8
Documentation
12
varinteger
Maintenance
3
Quality
21
Community
12
Popularity
7
Documentation
8
dusk-varint
Maintenance
1
Quality
15
Community
5
Popularity
5
Documentation
12
Technical Details
| integer-encoding | varinteger | dusk-varint | |
|---|---|---|---|
| Version | 4.1.0 | 1.0.6 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 5 | 0 | 1 |
| Crate Size | 13KB | 2KB | 6KB |
| Features | 2 | 0 | 0 |
| Yanked % | 16.7% | 0.0% | 0.0% |
| Edition | 2018 | — | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •integer-encoding leads with a health score of 60/100, but none of the options score above 80.
- •integer-encoding is depended on by 1.3K crates — strongest ecosystem trust.
- •⚠ varinteger, dusk-varint have not been updated in over a year.
- •dusk-varint is pre-1.0 — API may change.