diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bca885d..c69c99a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,6 @@ jobs: if: matrix.os == 'ubuntu-latest' run: | sudo apt install -y libasound2-dev - echo "OPENSSL_DIR=/usr/lib/ssl" >> $GITHUB_ENV - name: Build binary uses: houseabsolute/actions-rust-cross@v0 diff --git a/Cargo.lock b/Cargo.lock index b2a1010..9c790eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -992,6 +992,7 @@ dependencies = [ "eyre", "futures", "lazy_static", + "openssl", "rand", "reqwest", "rodio", @@ -1241,6 +1242,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.3.2+3.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a211a18d945ef7e648cc6e0058f4c548ee46aab922ea203e0d30e966ea23647b" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.103" @@ -1249,6 +1259,7 @@ checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index 232dbf7..7ae8dc4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,3 +40,4 @@ rodio = { version = "0.19.0", features = ["symphonia-mp3"], default-features = f crossterm = "0.28.1" Inflector = "0.11.4" lazy_static = "1.5.0" +openssl = { version = "*", features = ["vendored"] }