llamma-math 0.1.0-alpha.2

Pure Rust port of Curve Finance LLAMMA (Lending-Liquidating AMM Algorithm) math. Wei-level precision, fuzz-verified against on-chain contracts.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.80"
name = "llamma-math"
version = "0.1.0-alpha.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust port of Curve Finance LLAMMA (Lending-Liquidating AMM Algorithm) math. Wei-level precision, fuzz-verified against on-chain contracts."
readme = false
keywords = [
    "curve",
    "llamma",
    "crvusd",
    "llamalend",
    "amm",
]
categories = [
    "cryptography::cryptocurrencies",
    "mathematics",
]
license = "MIT"
repository = "https://github.com/sunce86/llamma-math"

[features]
default = []
serde = [
    "dep:serde",
    "alloy-primitives/serde",
]
swap = []

[lib]
name = "llamma_math"
path = "src/lib.rs"

[[test]]
name = "wad_exp_crosscheck"
path = "tests/wad_exp_crosscheck.rs"

[dependencies.alloy-primitives]
version = "1.5"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dev-dependencies.alloy]
version = "1.7"
features = [
    "provider-http",
    "contract",
    "sol-types",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]