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"]