riptide-amm-math 0.2.6

The Riptide program math library
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"
name = "riptide-amm-math"
version = "0.2.6"
authors = ["admin@riptide.so"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Riptide program math library"
readme = "README.md"
keywords = [
    "solana",
    "crypto",
    "defi",
    "dex",
    "amm",
]
license-file = "LICENSE"

[features]
default = [
    "lib",
    "floats",
]
floats = ["libm"]
lib = []
wasm = [
    "wasm-bindgen",
    "serde-wasm-bindgen",
    "tsify",
    "js-sys",
]

[lib]
name = "riptide_amm_math"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/mod.rs"

[dependencies.borsh]
version = "^1.6"
features = ["derive"]

[dependencies.ethnum]
version = "^1.1"

[dependencies.js-sys]
version = "^0.3"
optional = true

[dependencies.libm]
version = "^0.2"
optional = true

[dependencies.riptide-amm-macros]
version = "0.2.6"

[dependencies.serde]
version = "^1.0"
features = ["derive"]

[dependencies.serde-wasm-bindgen]
version = "^0.6"
optional = true

[dependencies.tsify]
version = "^0.5"
features = ["js"]
optional = true

[dependencies.wasm-bindgen]
version = "^0.2"
optional = true

[dev-dependencies.rstest]
version = "^0.26"