From 5dc549ca020a26d3c3d0b1ba03ce6e52f84d7e1a Mon Sep 17 00:00:00 2001 From: geoffsee <> Date: Thu, 14 Aug 2025 17:17:29 -0400 Subject: [PATCH] Update test to use HttpClient with different configurations --- Cargo.lock | 2 +- crates/hyper-custom-cert/tests/feature_combinations.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cfa352d..0df7280 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -364,7 +364,7 @@ dependencies = [ [[package]] name = "hyper-custom-cert" -version = "0.1.3" +version = "0.1.4" dependencies = [ "hyper-rustls", "hyper-tls", diff --git a/crates/hyper-custom-cert/tests/feature_combinations.rs b/crates/hyper-custom-cert/tests/feature_combinations.rs index f036572..3114d19 100644 --- a/crates/hyper-custom-cert/tests/feature_combinations.rs +++ b/crates/hyper-custom-cert/tests/feature_combinations.rs @@ -255,7 +255,7 @@ fn complex_configuration_order() { headers.insert("Order".to_string(), "test".to_string()); // Configuration in one order - let client1 = HttpClient::builder() + let _client1 = HttpClient::builder() .insecure_accept_invalid_certs(true) .with_root_ca_pem(TEST_CA_PEM) .with_pinned_cert_sha256(pins.clone()) @@ -264,7 +264,7 @@ fn complex_configuration_order() { .build(); // Configuration in different order - let client2 = HttpClient::builder() + let _client2 = HttpClient::builder() .with_default_headers(headers) .with_timeout(Duration::from_secs(15)) .with_pinned_cert_sha256(pins)