Decision Workspace
ilog vs ilog2 vs arbitrary-int
Side-by-side comparison of Rust crates
65
ilog
stablev1.0.4
Base 10 and 2 logarithm functions for integer types.
39
ilog2
growingv0.2.2
Integer logarithm library including some bit operations.
71
arbitrary-int
stablev2.2.0
Modern and lightweight implementation of u2, u3, u4, ..., u127.
Core Metrics
| ilog | ilog2 | arbitrary-int | |
|---|---|---|---|
| Health Score | 65 | 39 | 71 |
| Total Downloads | 40.1K | 15.6K | 3.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 152 | 3 | 301 |
| Releases | 10 | 7 | 15 |
| Last Updated | 17d ago | 3955d ago | 52d ago |
| Age | 3y 10m | 11y 3m | 4y 2m |
Health Breakdown
ilog
Maintenance
15
Quality
21
Community
11
Popularity
5
Documentation
13
ilog2
Maintenance
3
Quality
15
Community
5
Popularity
5
Documentation
11
arbitrary-int
Maintenance
16
Quality
22
Community
13
Popularity
8
Documentation
12
Technical Details
| ilog | ilog2 | arbitrary-int | |
|---|---|---|---|
| Version | 1.0.4 | 0.2.2 | 2.2.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 0 | 1 | 15 |
| Crate Size | 7KB | 3KB | 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.