Decision Workspace
solovay_strassen vs miller_rabin vs is-prime-for-primitive-int
Side-by-side comparison of Rust crates
46
solovay_strassen
growingv1.0.3
A multi-threaded, arbitrary precision implementation of the Solovay-Strassen primality test.
52
miller_rabin
growingv1.1.1
A multi-threaded, arbitrary precision implementation of the Miller-Rabin primality test.
44
is-prime-for-primitive-int
growingv0.5.1
is_prime for primitive ineger type
Core Metrics
| solovay_strassen | miller_rabin | is-prime-for-primitive-int | |
|---|---|---|---|
| Health Score | 46 | 52 | 44 |
| Total Downloads | 11.8K | 24.1K | 27.4K |
| 30d Downloads | 13 | 202 | 309 |
| Dependents | 0 | 57 | 14 |
| Releases | 9 | 9 | 7 |
| Last Updated | 2218d ago | 1402d ago | 1561d ago |
| Age | 6y 3m | 6y 2m | 5y 2m |
Health Breakdown
solovay_strassen
Maintenance
4
Quality
19
Community
6
Popularity
5
Documentation
12
miller_rabin
Maintenance
4
Quality
20
Community
11
Popularity
5
Documentation
12
is-prime-for-primitive-int
Maintenance
4
Quality
15
Community
8
Popularity
5
Documentation
12
Technical Details
| solovay_strassen | miller_rabin | is-prime-for-primitive-int | |
|---|---|---|---|
| Version | 1.0.3 | 1.1.1 | 0.5.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | AGPL-3.0-or-later |
| Dependencies | 5 | 5 | 1 |
| Crate Size | 3KB | 4KB | 3KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •miller_rabin leads with a health score of 52/100, but none of the options score above 80.
- •is-prime-for-primitive-int has the most downloads (27.4K), suggesting wider adoption.
- •⚠ solovay_strassen, miller_rabin, is-prime-for-primitive-int have not been updated in over a year.
- •is-prime-for-primitive-int is pre-1.0 — API may change.