From 11129edbc9325330b6123dc8b506cc11775ea199 Mon Sep 17 00:00:00 2001 From: saji Date: Mon, 12 Aug 2024 16:37:31 -0500 Subject: [PATCH] added openssl vendored for cross-building --- Cargo.lock | 11 +++++++++++ Cargo.toml | 2 ++ 2 files changed, 13 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 0a2c97d..6c7e958 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1682,6 +1682,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.3.1+3.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7259953d42a81bf137fbbd73bd30a8e1914d6dce43c2b90ed575783a22608b91" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.103" @@ -1690,6 +1699,7 @@ checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] @@ -1820,6 +1830,7 @@ dependencies = [ "mime_guess", "minijinja", "minijinja-embed", + "openssl", "palette", "rayon", "reqwest", diff --git a/Cargo.toml b/Cargo.toml index 724f9e1..a7add7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,8 @@ toml = "0.8.19" tower-http = { version = "0.5.2", features = ["trace"] } tracing = "0.1.40" tracing-subscriber = "0.3.18" +# for cross build +openssl = { version = "0.10", features = ["vendored"] } [dev-dependencies] criterion = { version = "0.5", features = ["html_reports"] }