Decision Workspace
ruint vs bnum vs ruint-macro
Side-by-side comparison of Rust crates
72
ruint
stablev1.18.0
Unsigned integer type with const-generic bit length
66
bnum
growingv0.14.4
Fixed-size integer types with generic signedness, bit width and overflow behaviour.
58
ruint-macro
growingv1.2.1
The `uint!` macro for `Uint` and `Bits` literals
Core Metrics
| ruint | bnum | ruint-macro | |
|---|---|---|---|
| Health Score | 72 | 66 | 58 |
| Total Downloads | 19.2M | 8.1M | 17.9M |
| 30d Downloads | 1.9M | 1.4M | 1.7M |
| Dependents | 1.2K | 742 | 66 |
| Releases | 33 | 21 | 10 |
| Last Updated | 33d ago | 62d ago | 721d ago |
| Age | 4y | 3y 10m | 4y |
Health Breakdown
ruint
Maintenance
17
Quality
19
Community
16
Popularity
8
Documentation
12
bnum
Maintenance
14
Quality
15
Community
14
Popularity
8
Documentation
15
ruint-macro
Maintenance
4
Quality
21
Community
13
Popularity
8
Documentation
12
Technical Details
| ruint | bnum | ruint-macro | |
|---|---|---|---|
| Version | 1.18.0 | 0.14.4 | 1.2.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 50 | 13 | 0 |
| Crate Size | 134KB | 100KB | 6KB |
| Features | 38 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.90 | 1.87.0 | 1.65 |
| Owners | 3 | 1 | 3 |
Links
Quick Verdict
- •ruint leads with a health score of 72/100, but none of the options score above 80.
- •ruint is depended on by 1.2K crates — strongest ecosystem trust.
- •⚠ ruint-macro has not been updated in over a year.
- •bnum is pre-1.0 — API may change.