Decision Workspace
tc_prime vs machine-prime vs coprime
Side-by-side comparison of Rust crates
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.
52
machine-prime
growingv1.5.7
ne plus ultra primality testing for machine-sized integers
46
coprime
experimentalv0.2.0
Zero-dependency, no_std u64 number theory and modular arithmetic. Public, secret-free — Stage One, no constant-time guarantees yet. A five-tier differential test harness; selected primitives proved with Kani and Aeneas-to-Lean. Deterministic is_prime over all u64.
Core Metrics
| tc_prime | machine-prime | coprime | |
|---|---|---|---|
| Health Score | 50 | 52 | 46 |
| Total Downloads | 9 | 28.0K | 43 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 28 | 0 |
| Releases | 1 | 17 | 2 |
| Last Updated | 1d ago | 210d ago | 121d ago |
| Age | 1d | 3y 5m | 4m |
Health Breakdown
tc_prime
Maintenance
13
Quality
15
Community
6
Popularity
1
Documentation
15
machine-prime
Maintenance
10
Quality
17
Community
10
Popularity
5
Documentation
10
coprime
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
12
Technical Details
| tc_prime | machine-prime | coprime | |
|---|---|---|---|
| Version | 0.1.0 | 1.5.7 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | CC0-1.0 | BSD-3-Clause |
| Dependencies | 6 | 0 | 0 |
| Crate Size | 24KB | 529KB | 83KB |
| Features | 3 | 6 | 0 |
| Yanked % | 0.0% | 29.4% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85 | — | 1.93 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •machine-prime leads with a health score of 52/100, but none of the options score above 80.
- •tc_prime, coprime are pre-1.0 — API may change.