riptide-amm 1.0.0

The Riptide rust client to interact with the riptide program.
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"
version = "1.0.0"
authors = ["admin@riptide.so"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Riptide rust client to interact with the riptide program."
readme = "README.md"
keywords = [
    "solana",
    "crypto",
    "defi",
    "dex",
    "amm",
]
license-file = "LICENSE"

[features]
default = [
    "fetch",
    "floats",
]
fetch = [
    "dep:solana-client",
    "dep:solana-account-decoder",
]
floats = ["dep:libm"]
serde = [
    "dep:serde",
    "dep:serde_with",
    "dep:serde-big-array",
]

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

[dependencies.anyhow]
version = "^1.0"

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

[dependencies.ethnum]
version = "^1.1"

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

[dependencies.num-derive]
version = "^0.4"

[dependencies.num-traits]
version = "^0.2"

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

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

[dependencies.serde-big-array]
version = "^0.5"
optional = true

[dependencies.serde_with]
version = "^3.18"
optional = true

[dependencies.solana-account]
version = "^3.4"

[dependencies.solana-account-decoder]
version = "^3.0"
optional = true

[dependencies.solana-account-info]
version = "^3.1"

[dependencies.solana-address]
version = "^2.4"
features = [
    "curve25519",
    "borsh",
]

[dependencies.solana-client]
version = "^3.0"
optional = true

[dependencies.solana-cpi]
version = "^3.1"

[dependencies.solana-instruction]
version = "^3.2"

[dependencies.solana-program-error]
version = "^3.0"

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