# 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 = "2024"
name = "binance-sdk-rs"
version = "0.3.2"
authors = ["anlithov <anlithov@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust Async SDK for the Binance"
readme = "README.md"
keywords = [
    "crypto",
    "trading",
    "binance",
]
license = "MIT"
repository = "https://github.com/anlithov/binance-api-rs"

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

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

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

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

[dependencies.anyhow]
version = "1.0.97"

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

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.12.1"

[dependencies.reqwest]
version = "0.12.12"
features = [
    "blocking",
    "json",
]

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.sha2]
version = "0.10.8"

[dependencies.tokio]
version = "1.43.0"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.tokio-tungstenite]
version = "0.26.2"
features = [
    "tokio-native-tls",
    "native-tls",
]

[dev-dependencies.dotenvy]
version = "0.15.7"
