binance-api-client 0.1.0

Async Rust client for Binance Spot REST and WebSocket APIs.
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 = "2024"
rust-version = "1.85"
name = "binance-api-client"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust client for Binance Spot REST and WebSocket APIs."
homepage = "https://github.com/dcompoze/binance-api-client"
documentation = "https://docs.rs/binance-api-client"
readme = "README.md"
keywords = [
    "binance",
    "crypto",
    "trading",
    "websocket",
    "api-client",
]
categories = [
    "api-bindings",
    "asynchronous",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/dcompoze/binance-api-client"

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.futures]
version = "0.3.31"

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

[dependencies.hex]
version = "0.4"

[dependencies.rand]
version = "0.8"

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

[dependencies.reqwest-middleware]
version = "0.5.0"

[dependencies.reqwest-retry]
version = "0.9.0"

[dependencies.reqwest-tracing]
version = "0.6.0"

[dependencies.ring]
version = "0.17"

[dependencies.rsa]
version = "0.9"
features = ["sha2"]

[dependencies.secrecy]
version = "0.10.3"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_repr]
version = "0.1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "macros",
]

[dependencies.tokio-stream]
version = "0.1.18"

[dependencies.tokio-tungstenite]
version = "0.28.0"

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"

[dependencies.urlencoding]
version = "2.1.3"

[dev-dependencies.dotenv]
version = "0.15"

[dev-dependencies.tokio]
version = "1.49"
features = ["full"]

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

[dev-dependencies.tracing-log]
version = "0.2.0"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.wiremock]
version = "0.6"