Skip to content

Commit

Permalink
Deps: Update async-tungstenite -> 0.12
Browse files Browse the repository at this point in the history
This is a non-breaking change, since WsError is private.
  • Loading branch information
FelixMcFelix committed Feb 10, 2021
1 parent 0e860dc commit a40fac3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions src/ws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ pub(crate) async fn create_rustls_client(url: Url) -> Result<WsStream> {
max_message_size: None,
max_frame_size: None,
max_send_queue: None,
..Default::default()
}),
)
.await
Expand All @@ -212,6 +213,7 @@ pub(crate) async fn create_native_tls_client(url: Url) -> Result<WsStream> {
max_message_size: None,
max_frame_size: None,
max_send_queue: None,
..Default::default()
}),
)
.await?;
Expand Down

0 comments on commit a40fac3

Please sign in to comment.