Skip to content

Commit b421a8d

Browse files
authored
Update Cargo.toml
Using rustls instead of openssl or native-tls
1 parent 9f7c0cd commit b421a8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ repository = "https://github.com/hyperliquid-dex/hyperliquid-rust-sdk"
1414
[dependencies]
1515
chrono = "0.4.26"
1616
env_logger = "0.10.0"
17-
ethers = {version = "2.0.14", features = ["eip712", "abigen"]}
17+
ethers = {version = "2.0.14", features = ["eip712", "abigen", "rustls"], default-features = false}
1818
futures-util = "0.3.28"
1919
hex = "0.4.3"
2020
http = "0.2.9"
2121
lazy_static = "1.3"
2222
log = "0.4.19"
2323
rand = "0.8.5"
24-
reqwest = "0.11.18"
24+
reqwest = { version = "0.12.22", features = ["json", "rustls-tls"], default-features = false }
2525
serde = {version = "1.0.175", features = ["derive"]}
2626
serde_json = "1.0.103"
2727
rmp-serde = "1.0.0"
2828
thiserror = "1.0.44"
2929
tokio = {version = "1.29.1", features = ["full"]}
30-
tokio-tungstenite = {version = "0.20.0", features = ["native-tls"]}
30+
tokio-tungstenite = {version = "0.20.0", features = ["rustls"], default-features = false}
3131
uuid = {version = "1.6.1", features = ["v4"]}

0 commit comments

Comments
 (0)