# 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 = "lasersell-sdk"
version = "0.2.3"
authors = ["LaserSell <support@lasersell.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the LaserSell API"
homepage = "https://lasersell.io"
documentation = "https://github.com/lasersell/lasersell-sdk/tree/main/rust"
readme = "README.md"
keywords = [
    "solana",
    "trading",
    "defi",
    "sdk",
    "lasersell",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/lasersell/lasersell-sdk"

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

[[example]]
name = "auto_sell"
path = "examples/auto_sell.rs"

[[example]]
name = "build_and_send_sell"
path = "examples/build_and_send_sell.rs"

[[example]]
name = "build_buy"
path = "examples/build_buy.rs"

[[example]]
name = "build_sell"
path = "examples/build_sell.rs"

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

[dependencies.base64]
version = "0.21"

[dependencies.bincode]
version = "1.3"

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

[dependencies.lasersell-stream-proto]
version = "0.3.1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.secrecy]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
    "macros",
]

[dependencies.tokio-tungstenite]
version = "0.21"
features = ["rustls-tls-webpki-roots"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.axum]
version = "0.7"
features = [
    "ws",
    "json",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "sync",
    "time",
]
