Decision Workspace
primality-test vs smcprime vs tc_prime
Side-by-side comparison of Rust crates
38
primality-test
growingv0.3.0
Primality Test crate
41
smcprime
experimentalv0.1.0
Ultra-fast primality testing with Montgomery arithmetic (32-bit and 64-bit)
50
tc_prime
experimentalv0.1.0
Primality testing and prime generation for cryptography over the integers of tc_bigint: trial division, Miller-Rabin and Shawe-Taylor provable primes.
Core Metrics
| primality-test | smcprime | tc_prime | |
|---|---|---|---|
| Health Score | 38 | 41 | 50 |
| Total Downloads | 7.3K | 31 | 9 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 5 | 1 | 1 |
| Last Updated | 934d ago | 288d ago | 1d ago |
| Age | 2y 9m | 9m | 1d |
Health Breakdown
primality-test
Maintenance
4
Quality
16
Community
3
Popularity
5
Documentation
10
smcprime
Maintenance
3
Quality
17
Community
6
Popularity
2
Documentation
13
tc_prime
Maintenance
13
Quality
15
Community
6
Popularity
1
Documentation
15
Technical Details
| primality-test | smcprime | tc_prime | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 6 |
| Crate Size | 6KB | 4KB | 24KB |
| Features | 0 | 2 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tc_prime leads with a health score of 50/100, but none of the options score above 80.
- •primality-test has the most downloads (7.3K), suggesting wider adoption.
- •⚠ primality-test has not been updated in over a year.