fix: adjust Cargo features to fix android build (#375)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-19 06:59:26 -07:00
committed by GitHub
parent ba4ef9a037
commit fdec66c69f
10 changed files with 53 additions and 25 deletions
+1 -2
View File
@@ -18,10 +18,9 @@ thiserror = { workspace = true }
rand = "0.8"
futures-util = "0.3"
tokio = { version = "1", features = ["net", "sync"] }
tokio-tungstenite = { version = "0.18", features = ["native-tls"] }
tokio-tungstenite = { version = "0.18" }
[features]
default = [ "native-tls-vendored" ]
native-tls = [ "tokio-tungstenite/native-tls" ]
native-tls-vendored = [ "tokio-tungstenite/native-tls-vendored" ]
rustls-tls-webpki-roots = [ "tokio-tungstenite/rustls-tls-webpki-roots" ]