From 226562735c50137d0d2e9c8b98200ce6e449138d Mon Sep 17 00:00:00 2001 From: Matt Palmer Date: Tue, 25 Jun 2024 19:20:53 +1000 Subject: [PATCH] Expose some more reqwest features (#160) --- CHANGELOG.md | 1 + reqwest-middleware/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a1b498..4b042cf 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 ### Added - Added support for `opentelemetry` version `0.23`. +- `http2`, `rustls-tls`, and `charset` features, which simply enable those features in `reqwest`. ## [0.3.1] diff --git a/reqwest-middleware/Cargo.toml b/reqwest-middleware/Cargo.toml index 3e0e2b1..9063231 100644 --- a/reqwest-middleware/Cargo.toml +++ b/reqwest-middleware/Cargo.toml @@ -13,6 +13,9 @@ readme = "../README.md" [features] multipart = ["reqwest/multipart"] json = ["reqwest/json"] +charset = ["reqwest/charset"] +http2 = ["reqwest/http2"] +rustls-tls = ["reqwest/rustls-tls"] [dependencies] anyhow = "1.0.0"