From d805ccb17445a185b61e2762a0c22a23d83a6396 Mon Sep 17 00:00:00 2001 From: Timon Borter Date: Thu, 19 Sep 2024 11:40:46 +0200 Subject: [PATCH] fix(vaultrs): switch to native ssl implementation --- Cargo.lock | 18 +++++++++++++++++- Cargo.toml | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d252dce..0b395f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1464,6 +1464,19 @@ dependencies = [ "tower-service", ] +[[package]] +name = "hyper-tls" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +dependencies = [ + "bytes", + "hyper 0.14.30", + "native-tls", + "tokio", + "tokio-native-tls", +] + [[package]] name = "hyper-tls" version = "0.6.0" @@ -2577,10 +2590,12 @@ dependencies = [ "http-body 0.4.6", "hyper 0.14.30", "hyper-rustls 0.24.2", + "hyper-tls 0.5.0", "ipnet", "js-sys", "log", "mime", + "native-tls", "once_cell", "percent-encoding", "pin-project-lite", @@ -2592,6 +2607,7 @@ dependencies = [ "sync_wrapper 0.1.2", "system-configuration 0.5.1", "tokio", + "tokio-native-tls", "tokio-rustls 0.24.1", "tower-service", "url", @@ -2619,7 +2635,7 @@ dependencies = [ "http-body-util", "hyper 1.4.1", "hyper-rustls 0.27.3", - "hyper-tls", + "hyper-tls 0.6.0", "hyper-util", "ipnet", "js-sys", diff --git a/Cargo.toml b/Cargo.toml index b5a352e..b643f27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ serde_json = "1.0.128" serde_yaml = "0.9.34+deprecated" tokio = { version = "1.40.0", features = ["rt"] } urlencoding = "2.1.3" -vaultrs = "0.7.2" +vaultrs = { version = "0.7.1", default-features = false, features = [ "native-tls" ] } [dev-dependencies] assert_cmd = "2.0.16"