From e52bbd5d23f0869be295ce96f195148c8ffbe5bf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 7 Jan 2023 16:16:59 +0100 Subject: [PATCH] fix(deps): change tokio version to `1` (#65) * fix(deps): update rust crate tokio to 1.24 * Apply suggestions from code review Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Fabian-Lars --- Cargo.lock | 4 ++-- plugins/upload/Cargo.toml | 2 +- plugins/websocket/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 861cbb5d..69c5ed59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4495,9 +4495,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.23.0" +version = "1.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eab6d665857cc6ca78d6e80303a02cea7a7851e85dfbd77cbdc09bd129f1ef46" +checksum = "1d9f76183f91ecfb55e1d7d5602bd1d979e38a3a522fe900241cf195624d67ae" dependencies = [ "autocfg", "bytes 1.3.0", diff --git a/plugins/upload/Cargo.toml b/plugins/upload/Cargo.toml index b06c1e32..26ec517e 100644 --- a/plugins/upload/Cargo.toml +++ b/plugins/upload/Cargo.toml @@ -15,7 +15,7 @@ serde_json.workspace = true tauri.workspace = true log.workspace = true thiserror.workspace = true -tokio = { version = "1.17", features = [ "fs" ] } +tokio = { version = "1", features = [ "fs" ] } tokio-util = { version = "0.7", features = [ "codec" ] } reqwest = { version = "0.11", features = [ "json", "stream" ] } futures = "0.3" diff --git a/plugins/websocket/Cargo.toml b/plugins/websocket/Cargo.toml index 6acc0bbf..9626668b 100644 --- a/plugins/websocket/Cargo.toml +++ b/plugins/websocket/Cargo.toml @@ -16,5 +16,5 @@ log.workspace = true thiserror.workspace = true rand = "0.8" futures-util = "0.3" -tokio = { version = "1.17", features = ["net", "sync"] } +tokio = { version = "1", features = ["net", "sync"] } tokio-tungstenite = { version = "0.17", features = ["native-tls"] } \ No newline at end of file