Decision Workspace
numbers_rus vs num-prime vs discrete-logarithm
Side-by-side comparison of Rust crates
54
numbers_rus
growingv1.0.0
Number-theory primitives and exact arithmetic for Rust — built for competitive programming, teaching, and recreational math. Miller-Rabin primality, sieves, factorization, modular arithmetic, generic rationals, complex numbers, and polynomials.
67
num-prime
growingv0.6.1
Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`.
66
discrete-logarithm
stablev2.0.0
Fast discrete logarithm solver
Core Metrics
| numbers_rus | num-prime | discrete-logarithm | |
|---|---|---|---|
| Health Score | 54 | 67 | 66 |
| Total Downloads | 16.0K | 6.7M | 12.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 272 | 19 |
| Releases | 13 | 21 | 5 |
| Last Updated | 178d ago | 17d ago | 13d ago |
| Age | 3y 4m | 4y 9m | 3y 2m |
Health Breakdown
numbers_rus
Maintenance
10
Quality
18
Community
6
Popularity
5
Documentation
15
num-prime
Maintenance
17
Quality
13
Community
15
Popularity
8
Documentation
14
discrete-logarithm
Maintenance
18
Quality
21
Community
10
Popularity
5
Documentation
12
Technical Details
| numbers_rus | num-prime | discrete-logarithm | |
|---|---|---|---|
| Version | 1.0.0 | 0.6.1 | 2.0.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 8 | 5 |
| Crate Size | 35KB | 161KB | 88KB |
| Features | 3 | 3 | 3 |
| Yanked % | 0.0% | 4.8% | 0.0% |
| Edition | 2021 | 2018 | 2024 |
| MSRV | 1.70 | 1.70 | 1.86 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •num-prime 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.
- •num-prime is pre-1.0 — API may change.