Decision Workspace
bare_metal_modulo vs mod2k vs modinverse
Side-by-side comparison of Rust crates
55
bare_metal_modulo
growingv1.2.6
ModNum is a highly ergonomic modular arithmetic struct intended for no_std use
39
mod2k
experimentalv0.1.1
Fast arithmetic modulo `2^k`, `2^k - 1`, and `2^k - d`.
52
modinverse
growingv0.2.0
Small library for finding the modular multiplicative inverses.
Core Metrics
| bare_metal_modulo | mod2k | modinverse | |
|---|---|---|---|
| Health Score | 55 | 39 | 52 |
| Total Downloads | 44.8K | 50 | 170.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 37 | 0 | 96 |
| Releases | 27 | 2 | 3 |
| Last Updated | 250d ago | 291d ago | 126d ago |
| Age | 5y 9m | 9m | 9y 8m |
Health Breakdown
bare_metal_modulo
Maintenance
9
Quality
20
Community
10
Popularity
6
Documentation
10
mod2k
Maintenance
7
Quality
14
Community
6
Popularity
2
Documentation
10
modinverse
Maintenance
9
Quality
16
Community
11
Popularity
6
Documentation
10
Technical Details
| bare_metal_modulo | mod2k | modinverse | |
|---|---|---|---|
| Version | 1.2.6 | 0.1.1 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | Unlicense |
| Dependencies | 1 | 2 | 4 |
| Crate Size | 18KB | 27KB | 20KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bare_metal_modulo leads with a health score of 55/100, but none of the options score above 80.
- •modinverse has the most downloads (170.3K), suggesting wider adoption.
- •mod2k, modinverse are pre-1.0 — API may change.