Skip to content

Commit 9cc74e2

Browse files
authored
fix: Enable tls12 in hyper-rustls crate (#106)
1 parent bf19d43 commit 9cc74e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

eventsource-client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ base64 = "0.22.1"
2626
hyper = { version = "1.0", features = ["client", "http1", "http2"], optional = true }
2727
hyper-util = { version = "0.1", features = ["client-legacy", "http1", "http2", "tokio"], optional = true }
2828
http-body-util = { version = "0.1", optional = true }
29-
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "webpki-roots"], optional = true }
29+
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "tls12", "webpki-roots"], optional = true }
3030
hyper-timeout = { version = "0.5", optional = true }
3131
tower = { version = "0.4", optional = true }
3232

@@ -42,4 +42,4 @@ proptest = "1.0.0"
4242
[features]
4343
default = ["hyper"]
4444
hyper = ["dep:hyper", "dep:hyper-util", "dep:http-body-util", "dep:hyper-timeout", "dep:tower"]
45-
hyper-rustls = ["dep:hyper-rustls"]
45+
hyper-rustls = ["hyper", "dep:hyper-rustls"]

0 commit comments

Comments
 (0)