# 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 = "tradingview-rs" version = "0.0.1" authors = ["Nguyen Thanh Dat "] description = "Tradingview datafeed api `tradingview-rs` project." readme = "README.md" license = "MIT" repository = "https://github.com/bitbytelabio/tradingview-rs" resolver = "2" [lib] name = "tradingview" path = "src/lib.rs" [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.21" [dependencies.futures-util] version = "0.3" features = [ "sink", "std", ] default-features = false [dependencies.google-authenticator] version = "0.4" optional = true [dependencies.iso_currency] version = "0.4" features = ["with-serde"] [dependencies.lazy_static] version = "1.4" [dependencies.prost] version = "0.12" optional = true [dependencies.rand] version = "^0.8" [dependencies.regex] version = "1" [dependencies.reqwest] version = "0.11" features = [ "rustls-tls", "json", "cookies", ] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" default-features = false [dependencies.tokio-tungstenite] version = "0.21" features = ["rustls-tls-webpki-roots"] [dependencies.tracing] version = "0.1" [dependencies.url] version = "2" [dependencies.urlencoding] version = "2" [dependencies.zip] version = "0.6" [dev-dependencies.anyhow] version = "1" [dev-dependencies.chrono] version = "0.4.31" features = ["serde"] [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.dotenv] version = "0.15.0" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3" [features] default = ["user"] protobuf = ["dep:prost"] user = ["dep:google-authenticator"]