Update rustls, tokio-tungstenite & hyper-rustls
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3ab8201c13
commit
d06585ad71
429
rust/Cargo.lock
generated
429
rust/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -30,6 +30,6 @@ semver = "1.0.14"
|
||||
|
||||
[dev-dependencies]
|
||||
#reqwest = { version = "0.11.11", default-features = false, features = ["json", "rustls-tls"] }
|
||||
tokio-tungstenite = "0.18.0"
|
||||
tokio-tungstenite = "0.19.0"
|
||||
serde_urlencoded = "0.7.1"
|
||||
futures = "0.3.23"
|
||||
|
@ -24,11 +24,11 @@ num = "0.4.0"
|
||||
num-traits = "0.2.15"
|
||||
num-derive = "0.3.3"
|
||||
textwrap = "0.16.0"
|
||||
tokio-tungstenite = { version = "0.18.0", features = ["__rustls-tls", "rustls-tls-native-roots"] }
|
||||
tokio-tungstenite = { version = "0.19.0", features = ["__rustls-tls", "rustls-tls-native-roots"] }
|
||||
serde_urlencoded = "0.7.1"
|
||||
futures = "0.3.23"
|
||||
serde_json = "1.0.96"
|
||||
hostname = "0.3.1"
|
||||
rustls = "0.20.6"
|
||||
hyper-rustls = { version = "0.23.0", features = ["rustls-native-certs"] }
|
||||
rustls = "0.21.1"
|
||||
hyper-rustls = { version = "0.24.0", features = ["rustls-native-certs"] }
|
||||
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false }
|
@ -133,7 +133,7 @@ impl Client {
|
||||
.with_no_client_auth();
|
||||
let connector = tokio_tungstenite::Connector::Rustls(Arc::new(config));
|
||||
|
||||
tokio_tungstenite::connect_async_tls_with_config(ws_url, None, Some(connector)).await?
|
||||
tokio_tungstenite::connect_async_tls_with_config(ws_url, None, false,Some(connector)).await?
|
||||
} else {
|
||||
// Perform an unsecure connection
|
||||
tokio_tungstenite::connect_async(ws_url).await?
|
||||
|
Loading…
Reference in New Issue
Block a user