fix(deps): update rust crate tokio-tungstenite to 0.21 (#804)

* fix(deps): update rust crate tokio-tungstenite to 0.21

* http version mismatch

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
This commit is contained in:
renovate[bot]
2023-12-07 10:27:31 +01:00
committed by GitHub
parent c7336bc330
commit 8d00fc08f0
4 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -1,4 +1,5 @@
use futures_util::{stream::SplitSink, SinkExt, StreamExt};
use http::header::{HeaderName, HeaderValue};
use serde::{ser::Serializer, Deserialize, Serialize};
use tauri::{
api::ipc::{format_callback, CallbackFn},
@@ -9,6 +10,7 @@ use tokio::{net::TcpStream, sync::Mutex};
use tokio_tungstenite::{
connect_async_with_config,
tungstenite::{
client::IntoClientRequest,
protocol::{CloseFrame as ProtocolCloseFrame, WebSocketConfig},
Message,
},
@@ -17,8 +19,6 @@ use tokio_tungstenite::{
use std::collections::HashMap;
use std::str::FromStr;
use tauri::http::header::{HeaderName, HeaderValue};
use tokio_tungstenite::tungstenite::client::IntoClientRequest;
type Id = u32;
type WebSocket = WebSocketStream<MaybeTlsStream<TcpStream>>;