Decision Workspace
num-prime vs feanor-math vs primal-check
Side-by-side comparison of Rust crates
67
num-prime
growingv0.6.1
Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`.
60
feanor-math
stablev3.6.1
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 | 67 | 60 | 50 |
| Total Downloads | 6.7M | 81.5K | 31.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 272 | 54 | 64 |
| Releases | 21 | 112 | 9 |
| Last Updated | 17d ago | 9d ago | 854d ago |
| Age | 4y 9m | 3y 1m | 11y 4m |
Health Breakdown
num-prime
Maintenance
17
Quality
13
Community
15
Popularity
8
Documentation
14
feanor-math
Maintenance
18
Quality
18
Community
8
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.6.1 | 3.6.1 | 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 | 161KB | 450KB | 9KB |
| Features | 3 | 7 | 1 |
| Yanked % | 4.8% | 1.8% | 0.0% |
| Edition | 2018 | 2024 | 2018 |
| MSRV | 1.70 | — | — |
| Owners | 2 | 1 | 2 |
Links
Quick Verdict
- •num-prime leads with a health score of 67/100, but none of the options score above 80.
- •primal-check has the most downloads (31.9M), suggesting wider adoption.
- •num-prime is depended on by 272 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.