# 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 = "nadfun_sdk"
version = "0.3.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Nad.fun"
documentation = "https://github.com/Naddotfun/nadfun-sdk-rust"
readme = "README.md"
keywords = [
    "memecoin",
    "nadfun",
    "nadfun-sdk",
]
license = "MIT"
repository = "https://github.com/Naddotfun/nadfun-sdk-rust"

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

[[example]]
name = "basic_operations"
path = "examples/token/basic_operations.rs"

[[example]]
name = "buy"
path = "examples/core/buy.rs"

[[example]]
name = "create_token"
path = "examples/create/create_token.rs"

[[example]]
name = "curve_indexer"
path = "examples/stream/curve_indexer.rs"

[[example]]
name = "curve_stream"
path = "examples/stream/curve_stream.rs"

[[example]]
name = "dex_indexer"
path = "examples/stream/dex_indexer.rs"

[[example]]
name = "dex_stream"
path = "examples/stream/dex_stream.rs"

[[example]]
name = "gas_estimation"
path = "examples/core/gas_estimation.rs"

[[example]]
name = "permit_signature"
path = "examples/token/permit_signature.rs"

[[example]]
name = "pool_discovery"
path = "examples/stream/pool_discovery.rs"

[[example]]
name = "sell"
path = "examples/core/sell.rs"

[[example]]
name = "sell_permit"
path = "examples/core/sell_permit.rs"

[dependencies.alloy]
version = "1.0.24"
features = [
    "full",
    "signer-keystore",
    "pubsub",
]

[dependencies.anyhow]
version = "1.0"

[dependencies.async-stream]
version = "0.3"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.rayon]
version = "1.8"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dev-dependencies.tokio-test]
version = "0.4"
