Skip to content

Commit

Permalink
Update async-tungstenite (serenity-rs#2573)
Browse files Browse the repository at this point in the history
  • Loading branch information
mh84 authored Nov 21, 2023
1 parent fadbe5d commit a2bec96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ version = "1.1"
default-features = false
features = ["tokio-runtime"]
optional = true
version = "0.17"
version = "0.23.0"

[dependencies.typemap_rev]
optional = true
Expand Down
3 changes: 1 addition & 2 deletions src/internal/ws_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ pub(crate) async fn create_client(url: Url) -> Result<WsStream> {
let config = async_tungstenite::tungstenite::protocol::WebSocketConfig {
max_message_size: None,
max_frame_size: None,
max_send_queue: None,
accept_unmasked_frames: false,
..Default::default()
};
let (stream, _) =
async_tungstenite::tokio::connect_async_with_config(url, Some(config)).await?;
Expand Down

0 comments on commit a2bec96

Please sign in to comment.