Decision Workspace
ilog2 vs ilog vs arbitrary-int
Side-by-side comparison of Rust crates
39
ilog2
growingv0.2.2
Integer logarithm library including some bit operations.
65
ilog
stablev1.0.4
Base 10 and 2 logarithm functions for integer types.
71
arbitrary-int
stablev2.2.0
Modern and lightweight implementation of u2, u3, u4, ..., u127.
Core Metrics
| ilog2 | ilog | arbitrary-int | |
|---|---|---|---|
| Health Score | 39 | 65 | 71 |
| Total Downloads | 15.6K | 40.1K | 3.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 152 | 301 |
| Releases | 7 | 10 | 15 |
| Last Updated | 3955d ago | 17d ago | 52d ago |
| Age | 11y 3m | 3y 10m | 4y 2m |
Health Breakdown
ilog2
Maintenance
3
Quality
15
Community
5
Popularity
5
Documentation
11
ilog
Maintenance
15
Quality
21
Community
11
Popularity
5
Documentation
13
arbitrary-int
Maintenance
16
Quality
22
Community
13
Popularity
8
Documentation
12
Technical Details
| ilog2 | ilog | arbitrary-int | |
|---|---|---|---|
| Version | 0.2.2 | 1.0.4 | 2.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 0 | 15 |
| Crate Size | 3KB | 7KB | 65KB |
| Features | 0 | 0 | 13 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2024 | 2021 |
| MSRV | — | — | 1.83 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •arbitrary-int leads with a health score of 71/100, but none of the options score above 80.
- •arbitrary-int is depended on by 301 crates — strongest ecosystem trust.
- •⚠ ilog2 has not been updated in over a year.
- •ilog2 is pre-1.0 — API may change.