diff --git a/Cargo.toml b/Cargo.toml index 23d461d..5d5b9e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ version = "0.1" default-features = false features = ["tokio-runtime"] optional = true -version = "0.11" +version = "0.12" [dependencies.async-tungstenite-compat] package = "async-tungstenite" diff --git a/src/ws.rs b/src/ws.rs index 43c8194..30bafcb 100644 --- a/src/ws.rs +++ b/src/ws.rs @@ -195,6 +195,7 @@ pub(crate) async fn create_rustls_client(url: Url) -> Result { max_message_size: None, max_frame_size: None, max_send_queue: None, + ..Default::default() }), ) .await @@ -212,6 +213,7 @@ pub(crate) async fn create_native_tls_client(url: Url) -> Result { max_message_size: None, max_frame_size: None, max_send_queue: None, + ..Default::default() }), ) .await?;