# 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 = "extrema_infra"
version = "0.1.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A quantitative trading environment built in Rust."
homepage = "https://github.com/Lqz13Th/extrema_infra"
documentation = "https://docs.rs/extrema_infra"
readme = "README.md"
keywords = [
    "trading",
    "crypto",
    "websocket",
    "quant",
    "finance",
]
categories = [
    "api-bindings",
    "asynchronous",
    "finance",
]
license = "Apache-2.0"
repository = "https://github.com/Lqz13Th/extrema_infra"

[features]
all = [
    "hyperliquid",
    "binance",
    "gate",
    "okx",
]
binance = []
default = []
gate = []
hyperliquid = []
lob_clients = [
    "hyperliquid",
    "binance",
    "gate",
    "okx",
]
okx = []

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

[[example]]
name = "complex_strategy_example"
path = "examples/complex_strategy_example.rs"
required-features = ["okx"]

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

[[example]]
name = "hyperliquid_api_usage_example"
path = "examples/hyperliquid_api_usage_example.rs"
required-features = ["hyperliquid"]

[[example]]
name = "multi_strategy_example"
path = "examples/multi_strategy_example.rs"
required-features = ["binance"]

[[example]]
name = "websocket_private_account_example"
path = "examples/websocket_private_account_example.rs"
required-features = [
    "binance",
    "okx",
]

[dependencies.data-encoding]
version = "2.11.0"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.futures]
version = "0.3.32"

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

[dependencies.hmac]
version = "0.13.0"

[dependencies.polars]
version = "0.53.0"
default-features = false

[dependencies.reqwest]
version = "0.13.3"
features = [
    "json",
    "gzip",
]

[dependencies.rmp-serde]
version = "1.3.1"

[dependencies.rustls]
version = "0.23.40"
features = ["aws-lc-rs"]

[dependencies.secp256k1]
version = "0.31.1"
features = ["recovery"]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.11.0"

[dependencies.sha3]
version = "0.11.0"

[dependencies.simd-json]
version = "0.17.0"

[dependencies.thiserror]
version = "2.0.18"

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

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

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"

[dependencies.tract-onnx]
version = "0.22.1"

[dependencies.tungstenite]
version = "0.29.0"

[dependencies.zeromq]
version = "0.6.0"
