Decision Workspace
prime-formula vs num-prime vs feanor-math
Side-by-side comparison of Rust crates
44
prime-formula
growingv0.3.1
High-performance prime number generation and constellation finding using novel wheel factorization
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.
Core Metrics
| prime-formula | num-prime | feanor-math | |
|---|---|---|---|
| Health Score | 44 | 67 | 60 |
| Total Downloads | 2.6K | 6.7M | 81.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 272 | 54 |
| Releases | 5 | 21 | 112 |
| Last Updated | 515d ago | 17d ago | 9d ago |
| Age | 1y 5m | 4y 9m | 3y 1m |
Health Breakdown
prime-formula
Maintenance
8
Quality
16
Community
6
Popularity
4
Documentation
10
num-prime
Maintenance
17
Quality
13
Community
15
Popularity
8
Documentation
14
feanor-math
Maintenance
18
Quality
18
Community
8
Popularity
6
Documentation
10
Technical Details
| prime-formula | num-prime | feanor-math | |
|---|---|---|---|
| Version | 0.3.1 | 0.6.1 | 3.6.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | Apache-2.0 | MIT |
| Dependencies | 7 | 8 | 18 |
| Crate Size | 36KB | 161KB | 450KB |
| Features | 2 | 3 | 7 |
| Yanked % | 0.0% | 4.8% | 1.8% |
| Edition | 2024 | 2018 | 2024 |
| MSRV | — | 1.70 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •num-prime leads with a health score of 67/100, but none of the options score above 80.
- •num-prime is depended on by 272 crates — strongest ecosystem trust.
- •⚠ prime-formula has not been updated in over a year.
- •prime-formula, num-prime are pre-1.0 — API may change.