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'
run: |
sudo apt install -y libasound2-dev
echo "OPENSSL_DIR=/usr/lib/ssl" >> $GITHUB_ENV
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0

11
Cargo.lock generated
View File

@ -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",
]

View File

@ -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"] }