Decision Workspace
curve-adapter vs curve-math vs cp-curve
Side-by-side comparison of Rust crates
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.
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
Core Metrics
| curve-adapter | curve-math | cp-curve | |
|---|---|---|---|
| Health Score | 38 | 46 | 39 |
| Total Downloads | 33 | 524 | 87 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 0 |
| Releases | 1 | 2 | 1 |
| Last Updated | 192d ago | 192d ago | 148d ago |
| Age | 6m | 6m | 4m |
Health Breakdown
curve-adapter
Maintenance
5
Quality
14
Community
5
Popularity
2
Documentation
12
curve-math
Maintenance
9
Quality
15
Community
7
Popularity
3
Documentation
12
cp-curve
Maintenance
6
Quality
15
Community
6
Popularity
2
Documentation
10
Technical Details
| curve-adapter | curve-math | cp-curve | |
|---|---|---|---|
| Version | 0.1.0-alpha.2 | 0.1.0-alpha.2 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 7 | 4 | 0 |
| Crate Size | 101KB | 68KB | 5KB |
| Features | 3 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| 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.