From 50e96f5607404268c83a10af36c212a63f007aa4 Mon Sep 17 00:00:00 2001 From: Daniel Sharifi Date: Wed, 21 Aug 2024 14:45:35 +0200 Subject: [PATCH 1/2] . --- Cargo.lock | 1 + ic-agent/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index c2e4fb46..91975161 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1994,6 +1994,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", + "h2 0.4.5", "http 1.1.0", "http-body 1.0.1", "http-body-util", diff --git a/ic-agent/Cargo.toml b/ic-agent/Cargo.toml index 18923d8e..a33eccac 100644 --- a/ic-agent/Cargo.toml +++ b/ic-agent/Cargo.toml @@ -53,7 +53,7 @@ optional = true [dependencies.reqwest] workspace = true default-features = false -features = ["blocking", "json", "rustls-tls-webpki-roots", "stream"] +features = ["blocking", "http2", "json", "rustls-tls-webpki-roots", "stream"] optional = true [dependencies.pem] From bffc9a7a0dcec8daea653710bad65120418137a9 Mon Sep 17 00:00:00 2001 From: Daniel Sharifi Date: Wed, 21 Aug 2024 15:33:37 +0200 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2ad5b24..52bb5100 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +* Enable http2 for reqwest transport. * Add canister snapshot methods to `ManagementCanister`. ## [0.37.1] - 2024-07-25