Decision Workspace
curve-math vs cp-curve vs curve-adapter
Side-by-side comparison of Rust crates
46
curve-math
experimentalv0.1.0-alpha.2
Pure Rust port of Curve Finance AMM math (StableSwap + CryptoSwap). Wei-level precision, fuzz-verified against on-chain get_dy for 200+ pools.
39
cp-curve
experimentalv0.1.0
Constant-product (x*y=k) AMM curve math primitives for Solana programs
38
curve-adapter
experimentalv0.1.0-alpha.2
Adapts raw on-chain Curve pool data into curve-math Pool instances. Variant detection, rate/precision computation, and pool construction.
Core Metrics
| curve-math | cp-curve | curve-adapter | |
|---|---|---|---|
| Health Score | 46 | 39 | 38 |
| Total Downloads | 524 | 87 | 33 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 0 | 0 |
| Releases | 2 | 1 | 1 |
| Last Updated | 192d ago | 148d ago | 192d ago |
| Age | 6m | 4m | 6m |
Health Breakdown
curve-math
Maintenance
9
Quality
15
Community
7
Popularity
3
Documentation
12
cp-curve
Maintenance
6
Quality
15
Community
6
Popularity
2
Documentation
10
curve-adapter
Maintenance
5
Quality
14
Community
5
Popularity
2
Documentation
12
Technical Details
| curve-math | cp-curve | curve-adapter | |
|---|---|---|---|
| Version | 0.1.0-alpha.2 | 0.1.0 | 0.1.0-alpha.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 0 | 7 |
| Crate Size | 68KB | 5KB | 101KB |
| Features | 3 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.80 | — | 1.80 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •curve-math leads with a health score of 46/100, but none of the options score above 80.