From 4cf290c840c62b862a10c48a644f3fec0cc440af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Czy=C5=BC?= Date: Sat, 3 Feb 2024 22:20:04 +0100 Subject: [PATCH] Cargo cross build --- Cargo.lock | 11 +++++++++++ Cargo.toml | 1 + 2 files changed, 12 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 1fa0360..8a11b4c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -895,6 +895,7 @@ name = "lyra" version = "0.1.0" dependencies = [ "dotenv", + "openssl", "regex", "reqwest", "serenity", @@ -1112,6 +1113,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.1.3+3.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd2c101a165fff9935e34def4669595ab1c7847943c42be86e21503e482be107" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.99" @@ -1120,6 +1130,7 @@ checksum = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index ae83fc4..6e0992c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [dependencies] dotenv = "0.15.0" +openssl = { version = "0.10.63", features = ["vendored"] } regex = "1.10.3" reqwest = "0.11.23" serenity = { version = "0.12.0", features = ["cache", "framework", "standard_framework", "voice"] }