# 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" version = "0.7.3" authors = ["Nouzan "] description = "The abstraction layer of exchanges." readme = "README.md" keywords = [ "exchange", "tower", ] 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.either] version = "1.8.0" [dependencies.exc-binance] version = "0.7.3" optional = true default-features = false [dependencies.exc-core] version = "0.7.3" default-features = false [dependencies.exc-okx] version = "0.7.3" optional = true default-features = false [dependencies.futures] version = "0.3.25" [dependencies.futures-util] version = "0.3.25" [dependencies.rust_decimal] version = "1.27.0" [dependencies.time] version = "0.3.17" features = [ "serde-well-known", "macros", ] [dependencies.tokio] version = "1.23.0" features = [ "rt", "sync", "macros", "time", ] [dependencies.tokio-stream] version = "0.1.11" [dependencies.tower] version = "0.4.13" default-features = false [dependencies.tracing] version = "0.1.37" [features] binance = ["exc-binance"] buffer = ["tower/buffer"] default = [ "websocket", "http", "retry", "rustls-tls", "limit", "buffer", "instrument", "poll", "fetch-candles", ] driven = ["exc-core/driven"] fetch-candles = ["exc-core/fetch-candles"] http = ["exc-core/http"] instrument = [ "limit", "buffer", ] limit = [ "exc-core/limit", "tower/limit", ] native-tls = [ "exc-core/native-tls", "exc-okx?/native-tls", "exc-binance?/native-tls", ] okx = ["exc-okx"] okx-prefer-client-id = [ "okx", "exc-okx/prefer-client-id", ] poll = ["exc-core/poll"] retry = ["exc-core/retry"] rustls-tls = [ "exc-core/rustls-tls", "exc-okx?/rustls-tls", "exc-binance?/rustls-tls", ] websocket = ["exc-core/websocket"]