From 2b730a02a3c64c04f4cb38d6b1f25dd37df6fc5c Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Tue, 12 Sep 2023 13:52:19 -0400 Subject: [PATCH] chore: Ping rustls to `0.21.7` --- tonic/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tonic/Cargo.toml b/tonic/Cargo.toml index 70932dfad..8063764e7 100644 --- a/tonic/Cargo.toml +++ b/tonic/Cargo.toml @@ -27,7 +27,7 @@ codegen = ["dep:async-trait"] gzip = ["dep:flate2"] default = ["transport", "codegen", "prost"] prost = ["dep:prost"] -tls = ["dep:rustls-pemfile", "transport", "dep:tokio-rustls", "tokio/rt", "tokio/macros"] +tls = ["dep:rustls-pemfile", "transport", "dep:tokio-rustls", "dep:rustls", "tokio/rt", "tokio/macros"] tls-roots = ["tls-roots-common", "dep:rustls-native-certs"] tls-roots-common = ["tls"] tls-webpki-roots = ["tls-roots-common", "dep:webpki-roots"] @@ -80,6 +80,7 @@ async-stream = { version = "0.3", optional = true } rustls-pemfile = { version = "1.0", optional = true } rustls-native-certs = { version = "0.6.3", optional = true } tokio-rustls = { version = "0.24.1", optional = true } +rustls = { version = "0.21.7", optional = true } webpki-roots = { version = "0.25.0", optional = true } # compression