chore(deps): Update tokio-tungstenite -> 0.23
This commit is contained in:
@@ -45,7 +45,7 @@ stream_lib = { optional = true, version = "0.4.1" }
|
|||||||
symphonia = { default_features = false, optional = true, version = "0.5.2" }
|
symphonia = { default_features = false, optional = true, version = "0.5.2" }
|
||||||
symphonia-core = { optional = true, version = "0.5.2" }
|
symphonia-core = { optional = true, version = "0.5.2" }
|
||||||
tokio = { default-features = false, optional = true, version = "1.0" }
|
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" }
|
tokio-util = { features = ["io"], optional = true, version = "0.7" }
|
||||||
tracing = { version = "0.1", features = ["log"] }
|
tracing = { version = "0.1", features = ["log"] }
|
||||||
tracing-futures = "0.2"
|
tracing-futures = "0.2"
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ pub struct WsStream(WebSocketStream<MaybeTlsStream<TcpStream>>);
|
|||||||
impl WsStream {
|
impl WsStream {
|
||||||
#[instrument]
|
#[instrument]
|
||||||
pub(crate) async fn connect(url: Url) -> Result<Self> {
|
pub(crate) async fn connect(url: Url) -> Result<Self> {
|
||||||
let (stream, _) = tokio_tungstenite::connect_async_with_config::<Url>(
|
let (stream, _) = tokio_tungstenite::connect_async_with_config(
|
||||||
url,
|
url.to_string(),
|
||||||
Some(Config {
|
Some(Config {
|
||||||
max_message_size: None,
|
max_message_size: None,
|
||||||
max_frame_size: None,
|
max_frame_size: None,
|
||||||
|
|||||||
Reference in New Issue
Block a user