From 2c2d36fd12610932fc92718c714171a7de946cd0 Mon Sep 17 00:00:00 2001
From: Pat Hickey
Date: Mon, 27 Jul 2026 10:49:17 -0700
Subject: [PATCH 1/2] update futures-lite to 2.6.1
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 386afa8..fd399e4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -74,7 +74,7 @@ bytes = "1.10.1"
cargo_metadata = "0.22"
clap = { version = "4.5.26", features = ["derive"] }
futures-core = "0.3.19"
-futures-lite = "1.12.0"
+futures-lite = "2.6.1"
futures-concurrency = "7.6"
humantime = "2.1.0"
heck = "0.5"
From 05934bb7168de17b929d053fb196a55c5d25807a Mon Sep 17 00:00:00 2001
From: Pat Hickey
Date: Mon, 27 Jul 2026 11:17:49 -0700
Subject: [PATCH 2/2] http server test: accept an io error during body reading
as well
---
test-programs/tests/http_server.rs | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/test-programs/tests/http_server.rs b/test-programs/tests/http_server.rs
index a8e9ae9..f8cf409 100644
--- a/test-programs/tests/http_server.rs
+++ b/test-programs/tests/http_server.rs
@@ -151,9 +151,11 @@ fn http_server() -> Result<()> {
// connection
match ureq::get("http://127.0.0.1:8081/response-body-fail").call() {
Err(ureq::Error::Io(_transport)) => {}
- result => {
- panic!("/response-body-fail expected io error, got: {result:?}")
- }
+ Ok(mut resp) => match resp.body_mut().read_to_vec() {
+ Err(ureq::Error::Io(_transport)) => {}
+ result => panic!("/response-body-fail expected io error, got: {result:?}"),
+ },
+ result => panic!("/response-body-fail expected io error, got: {result:?}"),
}
Ok(())