From 00802cc60c3bfdec4793d7cc418c9d0f98d2da1b Mon Sep 17 00:00:00 2001 From: Matthew Keeler Date: Tue, 13 Jan 2026 13:38:24 -0500 Subject: [PATCH] fix: Enable tls12 in hyper-rustls crate BEGIN_COMMIT_OVERRIDE fix: Enable tls12 in hyper-rustls crate fix: Enabling hyper-rustls auto enables hyper END_COMMIT_OVERRIDE --- eventsource-client/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eventsource-client/Cargo.toml b/eventsource-client/Cargo.toml index 7a32be4..1b790e7 100644 --- a/eventsource-client/Cargo.toml +++ b/eventsource-client/Cargo.toml @@ -26,7 +26,7 @@ base64 = "0.22.1" hyper = { version = "1.0", features = ["client", "http1", "http2"], optional = true } hyper-util = { version = "0.1", features = ["client-legacy", "http1", "http2", "tokio"], optional = true } http-body-util = { version = "0.1", optional = true } -hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "webpki-roots"], optional = true } +hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "tls12", "webpki-roots"], optional = true } hyper-timeout = { version = "0.5", optional = true } tower = { version = "0.4", optional = true } @@ -42,4 +42,4 @@ proptest = "1.0.0" [features] default = ["hyper"] hyper = ["dep:hyper", "dep:hyper-util", "dep:http-body-util", "dep:hyper-timeout", "dep:tower"] -hyper-rustls = ["dep:hyper-rustls"] +hyper-rustls = ["hyper", "dep:hyper-rustls"]