From f7240208f1f7204a108af193f7270ad00dc8e402 Mon Sep 17 00:00:00 2001 From: Matthew Esposito Date: Tue, 19 Nov 2024 11:18:20 -0500 Subject: [PATCH] fix(tls): vendor native-tls --- Cargo.lock | 10 ++++++++++ Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 6906b65..fdb2d9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1112,6 +1112,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.4.1+3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faa4eac4138c62414b5622d1b31c5c304f34b406b013c079c2bbc652fdd6678c" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.104" @@ -1120,6 +1129,7 @@ checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index 96c7952..e130f8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ arc-swap = "1.7.1" serde_json_path = "0.6.7" async-recursion = "1.1.1" common-words-all = { version = "0.0.2", default-features = false, features = ["english", "one"] } -hyper-tls = "=0.5.0" +hyper-tls = { version = "=0.5.0", features = ["vendored"] } [dev-dependencies]