From ecfe57c1f49657898d98e34476bc134c0a867a19 Mon Sep 17 00:00:00 2001 From: Steve Dignam Date: Fri, 29 Aug 2025 21:04:13 -0400 Subject: [PATCH] rust: fix reqwest tls for alpine build --- Cargo.lock | 10 ++++++++++ Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index d0f4a161..e638042a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1268,6 +1268,15 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" +[[package]] +name = "openssl-src" +version = "300.5.2+3.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d270b79e2926f5150189d475bc7e9d2c69f9c4697b185fa917d5a32b792d21b4" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.109" @@ -1276,6 +1285,7 @@ checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index cfd53112..cb8d69f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ insta = "1.39.0" jsonwebtoken = "9.3.1" lazy_static = "1.5.0" log = "0.4.25" -reqwest = { version = "0.11.27", features = ["default-tls", "blocking"] } +reqwest = { version = "0.11.27", features = ["native-tls-vendored", "blocking"] } serde = { version = "1.0.215", features = ["derive"] } serde_json = "1.0" serde_plain = "1.0"