Decision Workspace
num-prime vs feanor-math vs primal-check
Side-by-side comparison of Rust crates
63
num-prime
growingv0.5.0
Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`.
60
feanor-math
stablev3.5.17
A library for number theory, providing implementations for arithmetic in various rings and algorithms working on them.
50
primal-check
growingv0.3.4
Fast standalone primality testing.
Core Metrics
| num-prime | feanor-math | primal-check | |
|---|---|---|---|
| Health Score | 63 | 60 | 50 |
| Total Downloads | 4.0M | 79.4K | 16.2M |
| 30d Downloads | 378.1K | 294 | 1.4M |
| Dependents | 232 | 43 | 62 |
| Releases | 19 | 103 | 9 |
| Last Updated | 32d ago | 5d ago | 658d ago |
| Age | 4y 2m | 2y 7m | 10y 9m |
Health Breakdown
num-prime
Maintenance
16
Quality
11
Community
14
Popularity
8
Documentation
14
feanor-math
Maintenance
19
Quality
18
Community
7
Popularity
6
Documentation
10
primal-check
Maintenance
4
Quality
16
Community
10
Popularity
8
Documentation
12
Technical Details
| num-prime | feanor-math | primal-check | |
|---|---|---|---|
| Version | 0.5.0 | 3.5.17 | 0.3.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 8 | 18 | 2 |
| Crate Size | 152KB | 443KB | 9KB |
| Features | 3 | 7 | 1 |
| Yanked % | 5.3% | 1.9% | 0.0% |
| Edition | 2018 | 2024 | 2018 |
| MSRV | 1.70 | — | — |
| Owners | 2 | 1 | 2 |
Links
Quick Verdict
- •num-prime leads with a health score of 63/100, but none of the options score above 80.
- •primal-check has the most downloads (16.2M), suggesting wider adoption.
- •num-prime is depended on by 232 crates — strongest ecosystem trust.
- •⚠ primal-check has not been updated in over a year.
- •num-prime, primal-check are pre-1.0 — API may change.