Decision Workspace
number-theory vs ecm vs num-prime
Side-by-side comparison of Rust crates
54
number-theory
growingv0.0.26
Fast primality, factorization and elementary number theory for integer types
61
ecm
stablev1.0.2
Lenstra's Elliptic Curve Factorization Implementation with Big Integers
63
num-prime
growingv0.5.0
Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`.
Core Metrics
| number-theory | ecm | num-prime | |
|---|---|---|---|
| Health Score | 54 | 61 | 63 |
| Total Downloads | 32.6K | 20.8K | 4.0M |
| 30d Downloads | 99 | 418 | 365.8K |
| Dependents | 9 | 23 | 232 |
| Releases | 27 | 11 | 19 |
| Last Updated | 70d ago | 19d ago | 32d ago |
| Age | 4y 3m | 2y 9m | 4y 2m |
Health Breakdown
number-theory
Maintenance
15
Quality
15
Community
9
Popularity
5
Documentation
10
ecm
Maintenance
17
Quality
20
Community
9
Popularity
5
Documentation
10
num-prime
Maintenance
16
Quality
11
Community
14
Popularity
8
Documentation
14
Technical Details
| number-theory | ecm | num-prime | |
|---|---|---|---|
| Version | 0.0.26 | 1.0.2 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 1 | 5 | 8 |
| Crate Size | 49KB | 19KB | 152KB |
| Features | 1 | 2 | 3 |
| Yanked % | 3.7% | 0.0% | 5.3% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | 1.70 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •num-prime leads with a health score of 63/100, but none of the options score above 80.
- •num-prime is depended on by 232 crates — strongest ecosystem trust.
- •number-theory, num-prime are pre-1.0 — API may change.