# 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 = "xtb-client" version = "0.1.3" authors = ["Petr Jindra"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust implementation of XTB Broker API connector" readme = "README.md" keywords = [ "xtb", "fintech", "xstation", "trading", ] categories = [ "api-bindings", "finance", ] license = "MIT" repository = "https://github.com/elmordo/xtb-client" resolver = "1" [lib] name = "xtb_client" path = "src/lib.rs" [[example]] name = "get_all_symbols" path = "examples/get_all_symbols.rs" [[example]] name = "stream_keep_alive" path = "examples/stream_keep_alive.rs" [dependencies.async-trait] version = "0.1.77" [dependencies.derive_setters] version = "0.1.6" [dependencies.futures-util] version = "^0.3.30" [dependencies.log] version = "0.4.21" [dependencies.num_enum] version = "0.7.2" [dependencies.rust_decimal] version = "^1.34.3" features = [ "serde_json", "serde-float", ] [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "^1.0.114" [dependencies.serde_repr] version = "^0.1.18" [dependencies.serde_with] version = "^3.6.1" [dependencies.thiserror] version = "^1.0.57" [dependencies.tokio] version = "^1.36.0" features = [ "rt", "sync", "rt-multi-thread", "macros", ] [dependencies.tokio-tungstenite] version = "^0.21.0" features = ["rustls-tls-native-roots"] [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "^2.5.0" [dev-dependencies.dotenvy] version = "^0.15.7" [dev-dependencies.rstest] version = "^0.18.2" [dev-dependencies.rstest_reuse] version = "^0.6.0" [dev-dependencies.tokio] version = "^1.36.0" features = [ "full", "test-util", ] [dev-dependencies.tracing-subscriber] version = "^0.3.18"