Decision Workspace
const-primes vs large-primes vs const-gen
Side-by-side comparison of Rust crates
50
const-primes
growingv0.10.5
Work with prime numbers in const contexts. Prime generation, primality testing, prime counting, and more.
43
large-primes
growingv0.5.1
Package for Large Prime Number Analysis
69
const-gen
stablev1.6.10
A crate for generating (relatively) complex compile-time constants in rust.
Core Metrics
| const-primes | large-primes | const-gen | |
|---|---|---|---|
| Health Score | 50 | 43 | 69 |
| Total Downloads | 613.8K | 8.0K | 602.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 0 | 37 |
| Releases | 56 | 6 | 46 |
| Last Updated | 375d ago | 986d ago | 12d ago |
| Age | 3y | 2y 8m | 5y 5m |
Health Breakdown
const-primes
Maintenance
8
Quality
12
Community
8
Popularity
7
Documentation
15
large-primes
Maintenance
10
Quality
14
Community
3
Popularity
5
Documentation
11
const-gen
Maintenance
18
Quality
22
Community
10
Popularity
7
Documentation
12
Technical Details
| const-primes | large-primes | const-gen | |
|---|---|---|---|
| Version | 0.10.5 | 0.5.1 | 1.6.10 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | non-standard | MIT OR Apache-2.0 |
| Dependencies | 9 | 4 | 2 |
| Crate Size | 60KB | 12KB | 11KB |
| Features | 4 | 0 | 5 |
| Yanked % | 7.1% | 0.0% | 2.2% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.81.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •const-gen leads with a health score of 69/100, but none of the options score above 80.
- •const-primes has the most downloads (613.8K), suggesting wider adoption.
- •⚠ const-primes, large-primes have not been updated in over a year.
- •const-primes, large-primes are pre-1.0 — API may change.