Decision Workspace
p-mod-q-calculator vs num-prime vs feanor-math
Side-by-side comparison of Rust crates
41
p-mod-q-calculator
experimentalv0.1.0
Calculator for the p ≡ 1 (mod q) framework. Computes the number of representations N = pA + qB in strict O(1) time.
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
| p-mod-q-calculator | num-prime | feanor-math | |
|---|---|---|---|
| Health Score | 41 | 67 | 60 |
| Total Downloads | 13 | 6.7M | 81.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 272 | 54 |
| Releases | 1 | 21 | 112 |
| Last Updated | 41d ago | 17d ago | 9d ago |
| Age | 1m | 4y 9m | 3y 1m |
Health Breakdown
p-mod-q-calculator
Maintenance
10
Quality
14
Community
6
Popularity
1
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
| p-mod-q-calculator | num-prime | feanor-math | |
|---|---|---|---|
| Version | 0.1.0 | 0.6.1 | 3.6.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | MIT |
| Dependencies | 2 | 8 | 18 |
| Crate Size | 12KB | 161KB | 450KB |
| Features | 0 | 3 | 7 |
| Yanked % | 0.0% | 4.8% | 1.8% |
| Edition | 2021 | 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.
- •p-mod-q-calculator, num-prime are pre-1.0 — API may change.