From 29190da008c5a4f6545ed95a1c1bbb127f13ef73 Mon Sep 17 00:00:00 2001 From: Kavitha Sivakavi Date: Mon, 19 Jun 2023 16:29:02 +0530 Subject: [PATCH] fix: Updated hyper-rusttls to native-tls To avoid the ring dependency updated hyper-rusttls to native-tls Fixes: #521 Signed-off-by: Kavitha Sivakavi --- Cargo.lock | 10 +++++----- common/k8s/Cargo.toml | 2 +- common/test/mock-ingester/Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5c35c9d08..eccf0b109 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1369,7 +1369,7 @@ dependencies = [ ] [[package]] -name = "hyper-rustls" +name = "native-tls" version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" @@ -1645,7 +1645,7 @@ dependencies = [ "http", "humantime", "hyper", - "hyper-rustls", + "native-tls", "hyper-timeout", "k8s-openapi", "kube", @@ -1732,7 +1732,7 @@ dependencies = [ "http", "http-body", "hyper", - "hyper-rustls", + "native-tls", "hyper-timeout", "jsonpath_lib", "k8s-openapi", @@ -2001,7 +2001,7 @@ dependencies = [ "futures", "http", "hyper", - "hyper-rustls", + "native-tls", "log", "once_cell", "pin-project", @@ -2037,7 +2037,7 @@ dependencies = [ "env_logger", "futures", "hyper", - "hyper-rustls", + "native-tls", "rcgen", "rustls", "rustls-pemfile 1.0.2", diff --git a/common/k8s/Cargo.toml b/common/k8s/Cargo.toml index 713d24b2e..5dccb9801 100644 --- a/common/k8s/Cargo.toml +++ b/common/k8s/Cargo.toml @@ -17,7 +17,7 @@ chrono = { version = "0.4", features = ["serde"] } anyhow = "1.0.57" hyper = "0.14" hyper-timeout = "0.4" -hyper-rustls = "0.23" +native-tls = "0.23" tower = "0.4" tower-http = { version = "0.3", features = ["set-header"] } tracing = "0.1" diff --git a/common/test/mock-ingester/Cargo.toml b/common/test/mock-ingester/Cargo.toml index a7a587e0a..1521880c6 100644 --- a/common/test/mock-ingester/Cargo.toml +++ b/common/test/mock-ingester/Cargo.toml @@ -14,7 +14,7 @@ async-compression = { version ="0.3", features = ["tokio", "gzip"] } hyper = { version = "0.14", features = ["http1", "server", "stream", "tcp", "http2"] } bytes = "*" futures = "0.3" -hyper-rustls = { version = "0.23", features = ["http2"] } +native-tls = { version = "0.23", features = ["http2"] } rcgen = "0.9" rustls = "0.20" rustls-pemfile = "1"