Decision Workspace
numbers_rus vs num-prime vs ecm
Side-by-side comparison of Rust crates
59
numbers_rus
stablev1.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.
61
num-prime
growingv0.5.0
Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`.
58
ecm
stablev1.0.2
Lenstra's Elliptic Curve Factorization Implementation with Big Integers
Core Metrics
| numbers_rus | num-prime | ecm | |
|---|---|---|---|
| Health Score | 59 | 61 | 58 |
| Total Downloads | 16.0K | 4.7M | 21.3K |
| 30d Downloads | 0 | 340.4K | 0 |
| Dependents | 0 | 242 | 23 |
| Releases | 13 | 19 | 11 |
| Last Updated | 41d ago | 91d ago | 79d ago |
| Age | 2y 11m | 4y 4m | 2y 11m |
Health Breakdown
numbers_rus
Maintenance
15
Quality
18
Community
6
Popularity
5
Documentation
15
num-prime
Maintenance
13
Quality
11
Community
15
Popularity
8
Documentation
14
ecm
Maintenance
14
Quality
20
Community
9
Popularity
5
Documentation
10
Technical Details
| numbers_rus | num-prime | ecm | |
|---|---|---|---|
| Version | 1.0.0 | 0.5.0 | 1.0.2 |
| 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 | 152KB | 19KB |
| Features | 3 | 3 | 2 |
| Yanked % | 0.0% | 5.3% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | 1.70 | 1.70 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •num-prime leads with a health score of 61/100, but none of the options score above 80.
- •num-prime is depended on by 242 crates — strongest ecosystem trust.
- •num-prime is pre-1.0 — API may change.