# 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 = "okx-rs" version = "0.1.1" authors = ["Roy Tang "] description = "Unofficial Rust Library for the OKX V5 API" readme = "./README.md" keywords = [ "okx", "crypto", "exchange", "trading", ] license = "MIT OR Apache-2.0" repository = "https://github.com/roytang121/okx-rs/" [dependencies.anyhow] version = "1" features = ["backtrace"] [dependencies.base64] version = "0.13" [dependencies.chrono] version = "0.4.38" [dependencies.const_format] version = "0.2" [dependencies.digest] version = "0.10" features = ["dev"] [dependencies.env_logger] version = "0.10.0" features = [] optional = true [dependencies.futures-util] version = "0.3.28" [dependencies.hmac] version = "0.12.1" features = [] [dependencies.log] version = "0.4.20" optional = true [dependencies.reqwest] version = "0.11.22" features = [ "json", "blocking", ] [dependencies.rust_decimal] version = "1" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" features = ["arbitrary_precision"] [dependencies.serde_qs] version = "0.10.1" [dependencies.serde_with] version = "3.7.0" [dependencies.sha2] version = "0.10" default-features = false [dependencies.simd-json] version = "0.13.4" features = [ "runtime-detection", "known-key", ] optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.0.0" features = [ "rt", "rt-multi-thread", "macros", ] optional = true [dependencies.tungstenite] version = "0.20.1" features = ["native-tls"] optional = true [dependencies.url] version = "2" [dev-dependencies.dotenv] version = "0.15.0" [features] default = ["dep:log"] example = [ "dep:env_logger", "dep:tokio", "websocket", ] orderbook = ["dep:rust_decimal"] simd = ["dep:simd-json"] vip = [] websocket = ["dep:tungstenite"]