Decision Workspace
tonelli-rs vs discrete-logarithm vs cnfy-uint
Side-by-side comparison of Rust crates
38
tonelli-rs
experimentalv0.1.0
A Rust implementation of the Tonelli-Shanks algorithm for computing square roots modulo a prime
53
discrete-logarithm
growingv1.1.0
Fast discrete logarithm solver
51
cnfy-uint
experimentalv0.2.4
Zero-dependency 256-bit unsigned integer arithmetic for cryptographic applications
Core Metrics
| tonelli-rs | discrete-logarithm | cnfy-uint | |
|---|---|---|---|
| Health Score | 38 | 53 | 51 |
| Total Downloads | 419 | 11.3K | 208 |
| 30d Downloads | 4 | 305 | 127 |
| Dependents | 0 | 18 | 11 |
| Releases | 1 | 4 | 10 |
| Last Updated | 229d ago | 157d ago | 13d ago |
| Age | 7m | 2y 8m | 1m |
Health Breakdown
tonelli-rs
Maintenance
4
Quality
15
Community
6
Popularity
3
Documentation
10
discrete-logarithm
Maintenance
10
Quality
19
Community
9
Popularity
5
Documentation
10
cnfy-uint
Maintenance
15
Quality
16
Community
9
Popularity
3
Documentation
8
Technical Details
| tonelli-rs | discrete-logarithm | cnfy-uint | |
|---|---|---|---|
| Version | 0.1.0 | 1.1.0 | 0.2.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | non-standard |
| Dependencies | 0 | 3 | 0 |
| Crate Size | 7KB | 16KB | 162KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •discrete-logarithm leads with a health score of 53/100, but none of the options score above 80.
- •tonelli-rs, cnfy-uint are pre-1.0 — API may change.