# 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 = "dcex"
version = "0.4.2"
authors = ["pg56714"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust core library for low-latency cross-exchange crypto trading."
readme = "README.md"
keywords = [
    "crypto",
    "trading",
    "exchange",
    "http",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/pg56714/dcex"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.ed25519-dalek]
version = "2.2"
features = [
    "fast",
    "std",
]
default-features = false

[dependencies.flate2]
version = "1"

[dependencies.futures-util]
version = "0.3"
features = [
    "sink",
    "std",
]
default-features = false

[dependencies.getrandom]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.num-bigint]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "brotli",
    "charset",
    "deflate",
    "gzip",
    "http2",
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.sha2]
version = "0.10"

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

[dependencies.tokio-tungstenite]
version = "0.26"
features = [
    "connect",
    "rustls-tls-webpki-roots",
]
default-features = false

[dependencies.url]
version = "2"
