From f4b6dda8c256317a7e893e076b7c04db0731be6a Mon Sep 17 00:00:00 2001 From: wan9xy Date: Wed, 5 Mar 2025 10:37:25 +0800 Subject: [PATCH 1/4] add feature flag http3 with reqwest --- plugins/http/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/http/Cargo.toml b/plugins/http/Cargo.toml index 9aa49e0e44..63d9fa4257 100644 --- a/plugins/http/Cargo.toml +++ b/plugins/http/Cargo.toml @@ -69,6 +69,7 @@ deflate = ["reqwest/deflate"] trust-dns = ["reqwest/trust-dns"] socks = ["reqwest/socks"] http2 = ["reqwest/http2"] +http3 = ["reqwest/http3"] charset = ["reqwest/charset"] macos-system-configuration = ["reqwest/macos-system-configuration"] unsafe-headers = [] From 698c2c10e7614d508e7da6bc02fc12503444a4cc Mon Sep 17 00:00:00 2001 From: wan9xy Date: Wed, 5 Mar 2025 10:52:26 +0800 Subject: [PATCH 2/4] add change file --- .changes/add-http3-feature-flag.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .changes/add-http3-feature-flag.md diff --git a/.changes/add-http3-feature-flag.md b/.changes/add-http3-feature-flag.md new file mode 100644 index 0000000000..12d3712ae4 --- /dev/null +++ b/.changes/add-http3-feature-flag.md @@ -0,0 +1,4 @@ +--- +"http": patch +--- +Added HTTP3 to the allowed feature flags for reqwest. This enables users to leverage HTTP3 functionality in Rust-side code without causing panics due to multiple imports with different features. Since HTTP3 is still considered experimental in reqwest, this feature is limited to Rust-side usage only. \ No newline at end of file From bebbcd8606b17ce6c68685cc5814752d1ab308dd Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Wed, 5 Mar 2025 05:21:13 +0200 Subject: [PATCH 3/4] Update .changes/add-http3-feature-flag.md --- .changes/add-http3-feature-flag.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.changes/add-http3-feature-flag.md b/.changes/add-http3-feature-flag.md index 12d3712ae4..8f1d892ea0 100644 --- a/.changes/add-http3-feature-flag.md +++ b/.changes/add-http3-feature-flag.md @@ -1,4 +1,5 @@ --- "http": patch +"http-js": patch --- Added HTTP3 to the allowed feature flags for reqwest. This enables users to leverage HTTP3 functionality in Rust-side code without causing panics due to multiple imports with different features. Since HTTP3 is still considered experimental in reqwest, this feature is limited to Rust-side usage only. \ No newline at end of file From 23c1a3689777f50f31109b7bd8779c335a3e61c6 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Wed, 5 Mar 2025 05:21:19 +0200 Subject: [PATCH 4/4] Update .changes/add-http3-feature-flag.md --- .changes/add-http3-feature-flag.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changes/add-http3-feature-flag.md b/.changes/add-http3-feature-flag.md index 8f1d892ea0..8347cb19bd 100644 --- a/.changes/add-http3-feature-flag.md +++ b/.changes/add-http3-feature-flag.md @@ -2,4 +2,4 @@ "http": patch "http-js": patch --- -Added HTTP3 to the allowed feature flags for reqwest. This enables users to leverage HTTP3 functionality in Rust-side code without causing panics due to multiple imports with different features. Since HTTP3 is still considered experimental in reqwest, this feature is limited to Rust-side usage only. \ No newline at end of file +Added `http3` feature flag which can be used to enable `reqwest`'s `http3` feature flag. \ No newline at end of file