From ca7395a5ce971cbac25fb54285056edf3dd84e1f Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Sat, 1 Feb 2025 11:17:22 +0100 Subject: [PATCH] fix(upload): Enable reqwest's rustls-tls feature by default (#2378) --- .changes/upload-tls.md | 6 ++++++ plugins/upload/Cargo.toml | 2 ++ 2 files changed, 8 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 00000000..a413d31d --- /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 diff --git a/plugins/upload/Cargo.toml b/plugins/upload/Cargo.toml index a9118dcb..de27eaf6 100644 --- a/plugins/upload/Cargo.toml +++ b/plugins/upload/Cargo.toml @@ -32,6 +32,7 @@ thiserror = { workspace = true } tokio = { version = "1", features = ["fs"] } tokio-util = { version = "0.7", features = ["codec"] } reqwest = { version = "0.12", default-features = false, features = [ + "macos-system-configuration", "json", "stream", ] } @@ -39,6 +40,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"]