Decision Workspace
num-modular vs modinverse vs num-prime
Side-by-side comparison of Rust crates
67
num-modular
growingv0.6.6
Implementation of efficient integer division and modular arithmetic operations with generic number types. Supports various backends including num-bigint, etc..
52
modinverse
growingv0.2.0
Small library for finding the modular multiplicative inverses.
67
num-prime
growingv0.6.1
Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`.
Core Metrics
| num-modular | modinverse | num-prime | |
|---|---|---|---|
| Health Score | 67 | 52 | 67 |
| Total Downloads | 37.0M | 170.3K | 6.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 226 | 96 | 272 |
| Releases | 22 | 3 | 21 |
| Last Updated | 8d ago | 126d ago | 17d ago |
| Age | 4y 8m | 9y 8m | 4y 9m |
Health Breakdown
num-modular
Maintenance
17
Quality
16
Community
12
Popularity
8
Documentation
14
modinverse
Maintenance
9
Quality
16
Community
11
Popularity
6
Documentation
10
num-prime
Maintenance
17
Quality
13
Community
15
Popularity
8
Documentation
14
Technical Details
| num-modular | modinverse | num-prime | |
|---|---|---|---|
| Version | 0.6.6 | 0.2.0 | 0.6.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Unlicense | Apache-2.0 |
| Dependencies | 4 | 4 | 8 |
| Crate Size | 48KB | 20KB | 161KB |
| Features | 3 | 2 | 3 |
| Yanked % | 0.0% | 0.0% | 4.8% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | 1.65 | — | 1.70 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •num-modular leads with a health score of 67/100, but none of the options score above 80.
- •num-prime is depended on by 272 crates — strongest ecosystem trust.