Decision Workspace
primecount vs rug-miller-rabin vs lineic
Side-by-side comparison of Rust crates
35
primecount
growingv0.2.1
Rust wrapper for https://github.com/kimwalisch/primecount
57
rug-miller-rabin
growingv0.1.4
A multi-threaded, arbitrary precision implementation of the Miller-Rabin primality test using rug (GMP).
50
lineic
growingv0.4.0
Flexible linear interpolator for Rust
Core Metrics
| primecount | rug-miller-rabin | lineic | |
|---|---|---|---|
| Health Score | 35 | 57 | 50 |
| Total Downloads | 7.3K | 5.4K | 3.0K |
| 30d Downloads | 23 | 168 | 7 |
| Dependents | 0 | 25 | 0 |
| Releases | 5 | 5 | 4 |
| Last Updated | 1335d ago | 55d ago | 443d ago |
| Age | 5y 9m | 2y | 1y 2m |
Health Breakdown
primecount
Maintenance
3
Quality
14
Community
3
Popularity
5
Documentation
10
rug-miller-rabin
Maintenance
16
Quality
15
Community
10
Popularity
4
Documentation
12
lineic
Maintenance
13
Quality
17
Community
6
Popularity
4
Documentation
10
Technical Details
| primecount | rug-miller-rabin | lineic | |
|---|---|---|---|
| Version | 0.2.1 | 0.1.4 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | LGPL-3.0+ | MIT OR Apache-2.0 |
| Dependencies | 1 | 6 | 0 |
| Crate Size | 340KB | 12KB | 12KB |
| Features | 0 | 1 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | 1.90 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rug-miller-rabin leads with a health score of 57/100, but none of the options score above 80.
- •primecount has the most downloads (7.3K), suggesting wider adoption.
- •⚠ primecount, lineic have not been updated in over a year.