Decision Workspace
primeshor vs num-prime vs num-modular
Side-by-side comparison of Rust crates
43
primeshor
growingv0.2.0
A Rust project to explore prime numbers and factorization
67
num-prime
growingv0.6.1
Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`.
67
num-modular
growingv0.6.6
Implementation of efficient integer division and modular arithmetic operations with generic number types. Supports various backends including num-bigint, etc..
Core Metrics
| primeshor | num-prime | num-modular | |
|---|---|---|---|
| Health Score | 43 | 67 | 67 |
| Total Downloads | 4.7K | 6.7M | 37.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 272 | 226 |
| Releases | 3 | 21 | 22 |
| Last Updated | 936d ago | 17d ago | 8d ago |
| Age | 2y 7m | 4y 9m | 4y 8m |
Health Breakdown
primeshor
Maintenance
5
Quality
15
Community
6
Popularity
4
Documentation
13
num-prime
Maintenance
17
Quality
13
Community
15
Popularity
8
Documentation
14
num-modular
Maintenance
17
Quality
16
Community
12
Popularity
8
Documentation
14
Technical Details
| primeshor | num-prime | num-modular | |
|---|---|---|---|
| Version | 0.2.0 | 0.6.1 | 0.6.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 8 | 4 |
| Crate Size | 4KB | 161KB | 48KB |
| Features | 0 | 3 | 3 |
| Yanked % | 0.0% | 4.8% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | 1.70 | 1.65 |
| 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-modular has the most downloads (37.0M), suggesting wider adoption.
- •num-prime is depended on by 272 crates — strongest ecosystem trust.
- •⚠ primeshor has not been updated in over a year.