From c3d0bd0ad2ebdc70b8ab3f6e6692d0cffb1ce345 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 24 Jun 2022 16:21:16 -0400 Subject: [PATCH 1/2] lib: Bump tokio minimal version to 1.13.0 We use `Sender::send_replace` which was added in 1.13.0: https://github.com/tokio-rs/tokio/pull/3962 Closes: #316 --- lib/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 56c5085b..f092d33b 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -39,7 +39,7 @@ structopt = "0.3.21" tar = "0.4.38" tempfile = "3.2.0" term_size = "0.3.2" -tokio = { features = ["full"], version = "1" } +tokio = { features = ["full"], version = ">= 1.13.0" } tokio-util = { features = ["io-util"], version = "0.6.9" } tokio-stream = { features = ["sync"], version = "0.1.8" } tracing = "0.1" From bec51bd51f9bbfa931746b05dc39abd1ce561edb Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 24 Jun 2022 16:28:40 -0400 Subject: [PATCH 2/2] lib: Bump cap-std-ext minimal version to 0.25 We use `atomic_write` which was added in 0.25: https://github.com/coreos/cap-std-ext/pull/12 --- lib/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index f092d33b..7a48f376 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -17,7 +17,7 @@ bitflags = "1" camino = "1.0.4" chrono = "0.4.19" cjson = "0.1.1" -cap-std-ext = ">= 0.24, <= 0.25" +cap-std-ext = ">= 0.25" cap-tempfile = "0.24" flate2 = { features = ["zlib"], default_features = false, version = "1.0.20" } fn-error-context = "0.2.0"