-
Notifications
You must be signed in to change notification settings - Fork 43
/
Cargo.toml
58 lines (50 loc) · 1.96 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
[package]
name = "binance_spot_connector_rust"
version = "1.3.0"
authors = ["Binance"]
edition = "2021"
resolver = "2"
autoexamples = false
description = "This is a lightweight library that works as a connector to the Binance public API"
readme = "README.md"
repository = "https://github.com/binance/binance-connector-rust"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["enable-ureq", "enable-tungstenite"]
enable-hyper = [ "hyper", "hyper-tls", "serde_json", "futures-util", "tokio" ]
enable-ureq = [ "ureq", "serde_json" ]
enable-tungstenite = ["tungstenite"]
enable-tokio-tungstenite = ["tokio-tungstenite", "futures-util", "tokio"]
full = ["enable-hyper", "enable-tungstenite", "enable-ureq", "enable-tokio-tungstenite"]
[dependencies]
hmac = "0.12.0"
log = "0.4.14"
serde = { version = "1.0.136", features = ["derive"] }
sha2 = { version = "0.10.6", default-features = false, features = ["oid"] }
url = "2.2.2"
rust_decimal = "1.24.0"
http = "0.2.7"
strum = { version = "0.26.2", features = ["derive"] }
rand = "0.8.5"
signature = "2.2.0"
base64 = "0.22.1"
ed25519-dalek = { version = "2.1.0", features = ["serde", "zeroize", "rand_core", "digest", "pkcs8", "pem"] }
# enable-ureq
ureq = { version = "2.4.0", optional = true }
# enable-hyper
hyper = { version = "0.14.16", features = ["full"], optional = true }
serde_json = { version = "1.0.78", optional = true }
hyper-tls = {version = "0.5.0", optional = true }
futures-util = {version = "0.3.21", optional = true }
tokio = { version = "1", features = ["time"], optional = true }
# enable-tungstenite
tungstenite = {version = "0.23.0", features = ["native-tls"], optional = true}
# enable-tokio-tungstenite
tokio-tungstenite = {version = "0.23.1", features = ["native-tls"], optional = true}
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
env_logger = "0.11.3"
tower = "0.4.12"
rust_decimal_macros = "1.24.0"
cargo-audit = "0.20.0"