From c68aa8f34d0ca4eb703ca2d9d17a26de0d2c8cc4 Mon Sep 17 00:00:00 2001 From: zvicii Date: Thu, 4 Jan 2024 14:20:06 +0800 Subject: [PATCH] build: add vendored openssl to dependencies --- .github/workflows/ci.yml | 2 -- Cargo.toml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0e098a..ca1443e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,6 @@ jobs: with: toolchain: stable targets: aarch64-unknown-linux-gnu - - run: sudo apt install -y libssl-dev - run: cargo install cross - run: cross build --release --target aarch64-unknown-linux-gnu - uses: actions/upload-artifact@v4 @@ -115,7 +114,6 @@ jobs: with: toolchain: stable targets: aarch64-linux-android, armv7-linux-androideabi, i686-linux-android, x86_64-linux-android - - run: sudo apt install -y libssl-dev - run: cargo install cargo-ndk - run: cargo ndk -t arm64-v8a -t armeabi-v7a -t x86_64 -t x86 -o ./jniLibs build --release - uses: actions/upload-artifact@v4 diff --git a/Cargo.toml b/Cargo.toml index 4c990ed..5050cbf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,7 @@ sysinfo = "0.30.1" clap = { version = "4.4.11", features = ["derive"] } urlencoding = "2.1.3" tokio-stream = "0.1.14" +openssl = { version = "0.10.62", features = ["vendored"] } [lib] path = "src/lib.rs"