# 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 = "hadron-sdk"
version = "0.1.1"
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client SDK for the Hadron protocol"
readme = "README.md"
keywords = [
    "solana",
    "hadron",
    "amm",
    "defi",
]
categories = ["cryptography::cryptocurrencies"]
license = "Apache-2.0"

[features]
default = []
rpc = [
    "dep:solana-client",
    "dep:tokio",
]

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

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

[dependencies.solana-sdk]
version = "2.2"

[dependencies.spl-associated-token-account]
version = "7"
features = ["no-entrypoint"]

[dependencies.spl-token]
version = "8"
features = ["no-entrypoint"]

[dependencies.spl-token-2022]
version = "9"
features = ["no-entrypoint"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
optional = true

[dev-dependencies.ed25519-dalek]
version = "2"

[dev-dependencies.hmac]
version = "0.12"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.sha2]
version = "0.10"
