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
50
const-primes
growingv0.10.5
Work with prime numbers in const contexts. Prime generation, primality testing, prime counting, and more.
67
num-prime
growingv0.6.1
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 | 50 | 67 |
| Total Downloads | 8.0K | 613.8K | 6.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 4 | 272 |
| Releases | 6 | 56 | 21 |
| Last Updated | 986d ago | 375d ago | 17d ago |
| Age | 2y 8m | 3y | 4y 9m |
Health Breakdown
large-primes
Maintenance
10
Quality
14
Community
3
Popularity
5
Documentation
11
const-primes
Maintenance
8
Quality
12
Community
8
Popularity
7
Documentation
15
num-prime
Maintenance
17
Quality
13
Community
15
Popularity
8
Documentation
14
Technical Details
| large-primes | const-primes | num-prime | |
|---|---|---|---|
| Version | 0.5.1 | 0.10.5 | 0.6.1 |
| 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 | 161KB |
| Features | 0 | 4 | 3 |
| Yanked % | 0.0% | 7.1% | 4.8% |
| 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 67/100, but none of the options score above 80.
- •num-prime is depended on by 272 crates — strongest ecosystem trust.
- •⚠ large-primes, const-primes have not been updated in over a year.