Decision Workspace
factor-rs vs num-prime vs ecm
Side-by-side comparison of Rust crates
43
factor-rs
growingv1.2.1
A command-line program for listing the prime factors of a number or fraction
63
num-prime
growingv0.5.0
Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`.
61
ecm
stablev1.0.2
Lenstra's Elliptic Curve Factorization Implementation with Big Integers
Core Metrics
| factor-rs | num-prime | ecm | |
|---|---|---|---|
| Health Score | 43 | 63 | 61 |
| Total Downloads | 2.9K | 4.0M | 20.8K |
| 30d Downloads | 4 | 365.8K | 418 |
| Dependents | 0 | 232 | 23 |
| Releases | 2 | 19 | 11 |
| Last Updated | 1068d ago | 32d ago | 19d ago |
| Age | 2y 11m | 4y 2m | 2y 9m |
Health Breakdown
factor-rs
Maintenance
4
Quality
19
Community
6
Popularity
4
Documentation
10
num-prime
Maintenance
16
Quality
11
Community
14
Popularity
8
Documentation
14
ecm
Maintenance
17
Quality
20
Community
9
Popularity
5
Documentation
10
Technical Details
| factor-rs | num-prime | ecm | |
|---|---|---|---|
| Version | 1.2.1 | 0.5.0 | 1.0.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 8 | 5 |
| Crate Size | 9KB | 152KB | 19KB |
| Features | 0 | 3 | 2 |
| Yanked % | 0.0% | 5.3% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | 1.70 | — |
| Owners | 1 | 2 | 1 |
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.
- •⚠ factor-rs has not been updated in over a year.
- •num-prime is pre-1.0 — API may change.