fix: switch to vendored openssl

This commit is contained in:
talwat 2024-10-02 00:57:47 +02:00
parent 5fe61fcf65
commit d2b862a315
3 changed files with 12 additions and 1 deletions

View File

@ -60,7 +60,6 @@ jobs:
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
run: | run: |
sudo apt install -y libasound2-dev sudo apt install -y libasound2-dev
echo "OPENSSL_DIR=/usr/lib/ssl" >> $GITHUB_ENV
- name: Build binary - name: Build binary
uses: houseabsolute/actions-rust-cross@v0 uses: houseabsolute/actions-rust-cross@v0

11
Cargo.lock generated
View File

@ -992,6 +992,7 @@ dependencies = [
"eyre", "eyre",
"futures", "futures",
"lazy_static", "lazy_static",
"openssl",
"rand", "rand",
"reqwest", "reqwest",
"rodio", "rodio",
@ -1241,6 +1242,15 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" 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]] [[package]]
name = "openssl-sys" name = "openssl-sys"
version = "0.9.103" version = "0.9.103"
@ -1249,6 +1259,7 @@ checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
dependencies = [ dependencies = [
"cc", "cc",
"libc", "libc",
"openssl-src",
"pkg-config", "pkg-config",
"vcpkg", "vcpkg",
] ]

View File

@ -40,3 +40,4 @@ rodio = { version = "0.19.0", features = ["symphonia-mp3"], default-features = f
crossterm = "0.28.1" crossterm = "0.28.1"
Inflector = "0.11.4" Inflector = "0.11.4"
lazy_static = "1.5.0" lazy_static = "1.5.0"
openssl = { version = "*", features = ["vendored"] }