Decision Workspace
redc vs num-modular vs modpow
Side-by-side comparison of Rust crates
36
redc
growingv0.1.0
Unsigned integer types which are constrained within a modular field using montgomery multiplication, never overflowing or exceeding the modulo
53
num-modular
growingv0.6.1
Implementation of efficient integer division and modular arithmetic operations with generic number types. Supports various backends including num-bigint, etc..
39
modpow
growingv1.0.1
I published this before I realized that modpow was already implemented by num, lol. Contact me if you'd like to use this crate name.
Core Metrics
| redc | num-modular | modpow | |
|---|---|---|---|
| Health Score | 36 | 53 | 39 |
| Total Downloads | 3.4K | 16.8M | 6.2K |
| 30d Downloads | 55 | 2.6M | 42 |
| Dependents | 4 | 174 | 0 |
| Releases | 1 | 17 | 2 |
| Last Updated | 1617d ago | 940d ago | 2254d ago |
| Age | 4y 5m | 4y 1m | 6y 2m |
Health Breakdown
redc
Maintenance
1
Quality
14
Community
8
Popularity
4
Documentation
9
num-modular
Maintenance
6
Quality
15
Community
12
Popularity
8
Documentation
12
modpow
Maintenance
3
Quality
20
Community
5
Popularity
5
Documentation
6
Technical Details
| redc | num-modular | modpow | |
|---|---|---|---|
| Version | 0.1.0 | 0.6.1 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT |
| Dependencies | 4 | 4 | 1 |
| Crate Size | 5KB | 32KB | 2KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •num-modular leads with a health score of 53/100, but none of the options score above 80.
- •num-modular is depended on by 174 crates — strongest ecosystem trust.
- •⚠ redc, num-modular, modpow have not been updated in over a year.
- •redc, num-modular are pre-1.0 — API may change.