# 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 = "digdigdig3"
version = "0.1.26"
build = false
exclude = [
    "**/research/**",
    "contributing/**",
    "docs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified async Rust API for 44 exchange connectors — crypto, stocks, forex. REST + WebSocket."
homepage = "https://github.com/ZENG3LD/digdigdig3"
documentation = "https://docs.rs/digdigdig3"
readme = "README.md"
keywords = [
    "exchange",
    "trading",
    "crypto",
    "websocket",
    "connector",
]
categories = [
    "api-bindings",
    "asynchronous",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZENG3LD/digdigdig3"

[features]
default = ["onchain-evm"]
grpc = [
    "dep:tonic",
    "dep:prost",
]
k256-signing = ["dep:k256"]
onchain-cosmos = ["dep:cosmrs"]
onchain-ethereum = ["onchain-evm"]
onchain-evm = ["dep:alloy"]
onchain-starknet = ["dep:starknet-crypto"]
starknet = ["onchain-starknet"]
websocket = []

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

[dependencies.alloy]
version = "1"
features = [
    "provider-ws",
    "rpc-types",
]
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bs58]
version = "0.5"

[dependencies.byteorder]
version = "1.5"

[dependencies.chrono]
version = "0.4"

[dependencies.cosmrs]
version = "0.22"
features = ["bip32"]
optional = true
default-features = false

[dependencies.dashmap]
version = "5.5"

[dependencies.flate2]
version = "1.0"

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

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.jsonwebtoken]
version = "9.3"

[dependencies.k256]
version = "0.13"
features = [
    "ecdsa-core",
    "ecdsa",
]
optional = true

[dependencies.lzma-rs]
version = "0.3"

[dependencies.prost]
version = "0.13"
optional = true

[dependencies.rand]
version = "0.8"

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

[dependencies.ring]
version = "0.17"

[dependencies.rust_decimal]
version = "1"

[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.starknet-crypto]
version = "0.6"
optional = true

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

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

[dependencies.tonic]
version = "0.12"
features = [
    "tls",
    "tls-native-roots",
]
optional = true

[dependencies.totp-rs]
version = "5.6"

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2.5"

[dependencies.urlencoding]
version = "2.1"

[dependencies.uuid]
version = "1.0"
features = ["v4"]
