# 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-core" 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.cfg-if] version = "1.0.0" [dependencies.either] version = "1.8.0" [dependencies.exc-make] version = "0.7.3" default-features = false [dependencies.exc-service] version = "0.7.3" default-features = false [dependencies.exc-symbol] version = "0.7.3" default-features = false [dependencies.exc-types] version = "0.7.3" default-features = false [dependencies.futures] version = "0.3.25" [dependencies.http] version = "0.2.8" optional = true [dependencies.hyper] version = "0.14.23" optional = true [dependencies.hyper-rustls] version = "0.24.2" features = [ "webpki-tokio", "http1", ] optional = true default-features = false [dependencies.hyper-tls] version = "0.5.0" optional = true [dependencies.indicator] version = "0.4.0" [dependencies.num-traits] version = "0.2.15" [dependencies.pin-project-lite] version = "0.2.9" [dependencies.positions] version = "0.2.1" features = ["serde"] [dependencies.rust_decimal] version = "1.27.0" [dependencies.serde] version = "1.0.151" features = ["derive"] [dependencies.thiserror] version = "1.0.38" [dependencies.time] version = "0.3.17" features = [ "serde-well-known", "macros", ] [dependencies.tokio] version = "1.23.0" optional = true [dependencies.tokio-stream] version = "0.1.11" [dependencies.tokio-tungstenite] version = "0.20.1" optional = true [dependencies.tower] version = "0.4.13" features = ["util"] default-features = false [dependencies.tracing] version = "0.1.37" [dev-dependencies.rust_decimal_macros] version = "1.27.0" [dev-dependencies.wasm-bindgen-test] version = "0.3.37" [features] default = [] driven = [ "tokio/sync", "tokio/rt", ] fetch-candles = ["tower/buffer"] http = [ "hyper/client", "hyper/http1", "dep:http", "exc-service/http", ] limit = ["exc-service/limit"] native-tls = [ "tokio-tungstenite?/native-tls", "hyper-tls", ] poll = ["tokio/time"] retry = ["exc-service/retry"] rustls-tls = [ "tokio-tungstenite?/rustls-tls-webpki-roots", "hyper-rustls", ] websocket = [ "tokio-tungstenite", "dep:http", "tokio/net", ]