Decision Workspace
unin vs arbitrary-int vs bitbybit
Side-by-side comparison of Rust crates
40
unin
growingv0.0.1
a (maintained) library providing integers of nonstandard widths for rust
69
arbitrary-int
stablev2.1.1
Modern and lightweight implementation of u2, u3, u4, ..., u127.
65
bitbybit
stablev2.0.0
Efficient implementation of bit-fields where several numbers are packed within a larger number and bit-enums. Useful for drivers, so it works in no_std environments
Core Metrics
| unin | arbitrary-int | bitbybit | |
|---|---|---|---|
| Health Score | 40 | 69 | 65 |
| Total Downloads | 3.1K | 1.5M | 426.1K |
| 30d Downloads | 4 | 163.0K | 35.0K |
| Dependents | 0 | 197 | 83 |
| Releases | 2 | 14 | 16 |
| Last Updated | 1410d ago | 41d ago | 42d ago |
| Age | 4y 11m | 3y 7m | 3y 7m |
Health Breakdown
unin
Maintenance
3
Quality
18
Community
6
Popularity
4
Documentation
9
arbitrary-int
Maintenance
16
Quality
22
Community
12
Popularity
7
Documentation
12
bitbybit
Maintenance
16
Quality
21
Community
11
Popularity
7
Documentation
10
Technical Details
| unin | arbitrary-int | bitbybit | |
|---|---|---|---|
| Version | 0.0.1 | 2.1.1 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 OR MIT | MIT | MIT |
| Dependencies | 3 | 10 | 6 |
| Crate Size | 17KB | 61KB | 35KB |
| Features | 5 | 10 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.83 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •arbitrary-int leads with a health score of 69/100, but none of the options score above 80.
- •arbitrary-int is depended on by 197 crates — strongest ecosystem trust.
- •⚠ unin has not been updated in over a year.
- •unin is pre-1.0 — API may change.