-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
59 lines (54 loc) · 1.56 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[package]
name = "tradingview-rs"
authors = ["Nguyen Thanh Dat <[email protected]>"]
version = "0.0.1"
edition = "2021"
license = "MIT"
repository = "https://github.com/bitbytelabio/tradingview-rs"
readme = "README.md"
description = "Tradingview datafeed api `tradingview-rs` project."
resolver = "2"
[lib]
name = "tradingview"
path = "src/lib.rs"
[features]
default = ["user"]
user = ["dep:google-authenticator"]
protobuf = ["dep:prost"]
sqlx = []
[dependencies]
async-trait = "0.1" # Remove this when Rust 1.75 async trait is stable
tokio = { version = "1", default-features = false, features = ["rt", "macros"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
reqwest = { version = "0.12", default-features = false ,features = ["rustls-tls", "json", "cookies"] }
lazy_static = "1.4"
url = "2"
urlencoding = "2"
rand = "^0.8"
regex = "1"
tokio-tungstenite = { version = "0.24", features = [
"rustls-tls-webpki-roots",
"url",
] }
tracing = "0.1"
thiserror = "2"
futures-util = { version = "0.3", default-features = false, features = [
"sink",
"std",
] }
iso_currency = { version = "0.5", features = ["with-serde"] }
zip = "2.2"
base64 = "0.22"
google-authenticator = { version = "0.4", optional = true }
prost = { version = "0.13", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
criterion = { version = "0.5", features = ["html_reports"] }
anyhow = "1"
dotenv = "0.15.0"
tracing-subscriber = "0.3"
chrono = { version = "0.4.31", features = ["serde"] }
# [[bench]]
# harness = false
# name = "utils"