# 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.70.0" name = "exc-okx" version = "0.7.3" authors = ["Nouzan "] description = "OKX exchange services" readme = "./README.md" keywords = [ "exchange", "tower", "okx", ] license = "MIT" repository = "https://github.com/Nouzan/exc" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.anyhow] version = "1.0.68" [dependencies.async-stream] version = "0.3.3" [dependencies.atomic-waker] version = "1.0.0" [dependencies.base64] version = "0.21.5" [dependencies.cfg-if] version = "1.0.0" [dependencies.either] version = "1.8.0" [dependencies.exc-core] version = "0.7.3" features = [ "websocket", "driven", "http", "retry", "fetch-candles", "limit", ] default-features = false [dependencies.futures] version = "0.3.25" [dependencies.hmac] version = "0.12.1" [dependencies.http] version = "0.2.8" [dependencies.hyper] version = "0.14.23" features = [ "client", "http1", ] [dependencies.pin-project-lite] version = "0.2.9" [dependencies.rust_decimal] version = "1.27.0" [dependencies.serde] version = "1.0.151" features = [ "derive", "derive", ] [dependencies.serde_json] version = "1.0.91" [dependencies.serde_qs] version = "0.12.0" [dependencies.serde_with] version = "3.4.0" [dependencies.sha2] version = "0.10.6" [dependencies.thiserror] version = "1.0.38" [dependencies.time] version = "0.3.17" features = [ "serde-human-readable", "macros", ] [dependencies.tokio] version = "1.23.0" features = [ "sync", "rt-multi-thread", "time", "macros", ] [dependencies.tokio-stream] version = "0.1.11" features = ["time"] [dependencies.tokio-tower] version = "0.6.0" [dependencies.tokio-tungstenite] version = "0.20.1" [dependencies.tower] version = "0.4.13" features = [ "util", "reconnect", "buffer", "timeout", "retry", "ready-cache", ] default-features = false [dependencies.tracing] version = "0.1.37" [dependencies.uuid] version = "1.2.2" features = ["v4"] [dev-dependencies.clap] version = "4.0.24" features = [ "derive", "env", ] [dev-dependencies.tracing-subscriber] version = "0.3.16" features = [ "env-filter", "json", ] [features] default = ["rustls-tls"] native-tls = [ "exc-core/native-tls", "tokio-tungstenite/native-tls", ] prefer-client-id = [] rustls-tls = [ "exc-core/rustls-tls", "tokio-tungstenite/rustls-tls-webpki-roots", ]