chore(deps): Update tokio-tungstenite -> 0.23

This commit is contained in:
Kyle Simpson
2024-07-08 11:58:23 +01:00
parent 169d527e54
commit bbc9e03e47
2 changed files with 3 additions and 3 deletions

View File

@@ -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"

View File

@@ -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,