fix(deps): update rust crate tokio-tungstenite to 0.19 (#358)

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

* fix compile error

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
renovate[bot]
2023-05-15 16:39:29 +02:00
committed by GitHub
parent e46acc74be
commit bc0ea5a74f
5 changed files with 155 additions and 132 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ async fn connect<R: Runtime>(
config: Option<ConnectionConfig>,
) -> Result<Id> {
let id = rand::random();
let (ws_stream, _) = connect_async_with_config(url, config.map(Into::into)).await?;
let (ws_stream, _) = connect_async_with_config(url, config.map(Into::into), false).await?;
tauri::async_runtime::spawn(async move {
let (write, read) = ws_stream.split();