Skip to content

Commit

Permalink
chore(deps): Update tokio-tungstenite -> 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMcFelix committed Jul 8, 2024
1 parent 169d527 commit bbc9e03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ stream_lib = { optional = true, version = "0.4.1" }
symphonia = { default_features = false, optional = true, version = "0.5.2" }
symphonia-core = { optional = true, version = "0.5.2" }
tokio = { default-features = false, optional = true, version = "1.0" }
tokio-tungstenite = { optional = true, version = "0.21" }
tokio-tungstenite = { optional = true, version = "0.23" }
tokio-util = { features = ["io"], optional = true, version = "0.7" }
tracing = { version = "0.1", features = ["log"] }
tracing-futures = "0.2"
Expand Down
4 changes: 2 additions & 2 deletions src/ws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ pub struct WsStream(WebSocketStream<MaybeTlsStream<TcpStream>>);
impl WsStream {
#[instrument]
pub(crate) async fn connect(url: Url) -> Result<Self> {
let (stream, _) = tokio_tungstenite::connect_async_with_config::<Url>(
url,
let (stream, _) = tokio_tungstenite::connect_async_with_config(
url.to_string(),
Some(Config {
max_message_size: None,
max_frame_size: None,
Expand Down

0 comments on commit bbc9e03

Please sign in to comment.