Decision Workspace
large-primes vs const-primes vs num-prime
Side-by-side comparison of Rust crates
43
large-primes
growingv0.5.1
Package for Large Prime Number Analysis
53
const-primes
growingv0.10.5
Work with prime numbers in const contexts. Prime generation, primality testing, prime counting, and more.
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
| large-primes | const-primes | num-prime | |
|---|---|---|---|
| Health Score | 43 | 53 | 63 |
| Total Downloads | 7.9K | 515.6K | 4.0M |
| 30d Downloads | 23 | 33.2K | 365.8K |
| Dependents | 0 | 4 | 232 |
| Releases | 6 | 56 | 19 |
| Last Updated | 790d ago | 179d ago | 32d ago |
| Age | 2y 2m | 2y 6m | 4y 2m |
Health Breakdown
large-primes
Maintenance
10
Quality
14
Community
3
Popularity
5
Documentation
11
const-primes
Maintenance
11
Quality
12
Community
8
Popularity
7
Documentation
15
num-prime
Maintenance
16
Quality
11
Community
14
Popularity
8
Documentation
14
Technical Details
| large-primes | const-primes | num-prime | |
|---|---|---|---|
| Version | 0.5.1 | 0.10.5 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 4 | 9 | 8 |
| Crate Size | 12KB | 60KB | 152KB |
| Features | 0 | 4 | 3 |
| Yanked % | 0.0% | 7.1% | 5.3% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.81.0 | 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.
- •⚠ large-primes has not been updated in over a year.