From 4304e3f0be7b0ac1de3402f39fbea3d7cbbf5bf9 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 7 Apr 2024 19:18:44 +0000 Subject: [PATCH] chore(cargo): require tokio 1.37.0 Make deps.rs happy about RUSTSEC-2023-0001 --- Cargo.toml | 2 +- deltachat-ffi/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dc583be92..d657a5c4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -92,7 +92,7 @@ strum_macros = "0.26" tagger = "4.3.4" textwrap = "0.16.1" thiserror = "1" -tokio = { version = "1", features = ["fs", "rt-multi-thread", "macros"] } +tokio = { version = "1.37.0", features = ["fs", "rt-multi-thread", "macros"] } tokio-io-timeout = "1.2.0" tokio-stream = { version = "0.1.15", features = ["fs"] } tokio-tar = { version = "0.3" } # TODO: integrate tokio into async-tar diff --git a/deltachat-ffi/Cargo.toml b/deltachat-ffi/Cargo.toml index 6d5624f6e..014567cf9 100644 --- a/deltachat-ffi/Cargo.toml +++ b/deltachat-ffi/Cargo.toml @@ -20,7 +20,7 @@ libc = "0.2" human-panic = { version = "1", default-features = false } num-traits = "0.2" serde_json = "1.0" -tokio = { version = "1", features = ["rt-multi-thread"] } +tokio = { version = "1.37.0", features = ["rt-multi-thread"] } anyhow = "1" thiserror = "1" rand = "0.8"