Decision Workspace
primecount vs rug-miller-rabin vs pmath
Side-by-side comparison of Rust crates
35
primecount
growingv0.2.1
Rust wrapper for https://github.com/kimwalisch/primecount
55
rug-miller-rabin
growingv0.1.5
A multi-threaded, arbitrary precision implementation of the Miller-Rabin primality test using rug (GMP).
51
pmath
growingv0.3.1
A general-purpose mathematics crate for Rust
Core Metrics
| primecount | rug-miller-rabin | pmath | |
|---|---|---|---|
| Health Score | 35 | 55 | 51 |
| Total Downloads | 7.4K | 6.3K | 670 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 27 | 5 |
| Releases | 5 | 6 | 4 |
| Last Updated | 1531d ago | 125d ago | 10d ago |
| Age | 6y 3m | 2y 7m | 1y 1m |
Health Breakdown
primecount
Maintenance
3
Quality
14
Community
3
Popularity
5
Documentation
10
rug-miller-rabin
Maintenance
13
Quality
15
Community
10
Popularity
5
Documentation
12
pmath
Maintenance
17
Quality
13
Community
8
Popularity
3
Documentation
10
Technical Details
| primecount | rug-miller-rabin | pmath | |
|---|---|---|---|
| Version | 0.2.1 | 0.1.5 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | LGPL-3.0+ | MIT |
| Dependencies | 1 | 6 | 9 |
| Crate Size | 340KB | 13KB | 69KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.90 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rug-miller-rabin leads with a health score of 55/100, but none of the options score above 80.
- •primecount has the most downloads (7.4K), suggesting wider adoption.
- •⚠ primecount has not been updated in over a year.