# 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"
rust-version = "1.85"
name = "thetadatadx"
version = "3.2.2"
authors = ["userFRM"]
build = "build.rs"
include = [
    "src/**/*",
    "proto/**/*",
    "build.rs",
    "Cargo.toml",
    "endpoint_schema.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "No-JVM ThetaData Terminal — native Rust SDK for direct MDDS (gRPC) and FPSS (TCP) market data access"
homepage = "https://github.com/userFRM/ThetaDataDx"
documentation = "https://docs.rs/thetadatadx"
readme = "README.md"
keywords = [
    "thetadata",
    "market-data",
    "tick-data",
    "zero-copy",
    "low-latency",
]
categories = [
    "finance",
    "api-bindings",
    "network-programming",
    "encoding",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/userFRM/ThetaDataDx"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

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

[dependencies.disruptor]
version = "4"

[dependencies.prost]
version = "=0.14.3"

[dependencies.prost-types]
version = "=0.14.3"

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

[dependencies.rustls]
version = "0.23.37"
features = ["ring"]

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

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tokio-rustls]
version = "0.26.4"

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

[dependencies.tonic]
version = "=0.14.5"
features = [
    "tls-ring",
    "tls-native-roots",
    "channel",
    "transport",
]

[dependencies.tonic-prost]
version = "=0.14.5"

[dependencies.tracing]
version = "0.1.44"

[dependencies.uuid]
version = "1.22.0"

[dependencies.webpki-roots]
version = "1.0.6"

[dependencies.zstd]
version = "0.13.3"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[build-dependencies.prost-build]
version = "=0.14.3"

[build-dependencies.regex]
version = "1"

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

[build-dependencies.toml]
version = "0.8"

[build-dependencies.tonic-prost-build]
version = "=0.14.5"
