From d7cc2d82867be2f32cf217ccae58cf00ce3bc88f Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Fri, 31 Jan 2025 23:08:59 +0100 Subject: [PATCH 1/3] fix(upload): Enable reqwest's rustls-tls feature by default --- plugins/upload/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/upload/Cargo.toml b/plugins/upload/Cargo.toml index a9118dcb33..b02ce4df86 100644 --- a/plugins/upload/Cargo.toml +++ b/plugins/upload/Cargo.toml @@ -32,6 +32,9 @@ thiserror = { workspace = true } tokio = { version = "1", features = ["fs"] } tokio-util = { version = "0.7", features = ["codec"] } reqwest = { version = "0.12", default-features = false, features = [ + "http2", + "charset", + "macos-system-configuration", "json", "stream", ] } @@ -39,6 +42,7 @@ futures-util = "0.3" read-progress-stream = "1.0.0" [features] +default = ["rustls-tls"] native-tls = ["reqwest/native-tls"] native-tls-vendored = ["reqwest/native-tls-vendored"] rustls-tls = ["reqwest/rustls-tls"] From 2a843089726aebd55dd0cda998560d49bf1d5ae0 Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Fri, 31 Jan 2025 23:10:07 +0100 Subject: [PATCH 2/3] Create upload-tls.md --- .changes/upload-tls.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/upload-tls.md diff --git a/.changes/upload-tls.md b/.changes/upload-tls.md new file mode 100644 index 0000000000..a413d31dc1 --- /dev/null +++ b/.changes/upload-tls.md @@ -0,0 +1,6 @@ +--- +upload: patch +upload-js: patch +--- + +the `rustls-tls` feature is now enabled by default From d5bf23fa531b87512d5cbfae22e31f17c0a11b10 Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Fri, 31 Jan 2025 23:12:34 +0100 Subject: [PATCH 3/3] Update Cargo.toml --- plugins/upload/Cargo.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/upload/Cargo.toml b/plugins/upload/Cargo.toml index b02ce4df86..de27eaf6dd 100644 --- a/plugins/upload/Cargo.toml +++ b/plugins/upload/Cargo.toml @@ -32,8 +32,6 @@ thiserror = { workspace = true } tokio = { version = "1", features = ["fs"] } tokio-util = { version = "0.7", features = ["codec"] } reqwest = { version = "0.12", default-features = false, features = [ - "http2", - "charset", "macos-system-configuration", "json", "stream",