diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 5cec22b..fe09f60 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -25,6 +25,7 @@ jobs: - os: ubuntu-latest target: aarch64-unknown-linux-gnu cross: true + features: --features vendored-openssl - os: macos-latest target: aarch64-apple-darwin steps: @@ -43,7 +44,7 @@ jobs: with: command: build use-cross: ${{ matrix.job.cross }} - args: --features vendored-openssl --release --target ${{ matrix.job.target }} + args: ${{ matrix.job.features }} --release --target ${{ matrix.job.target }} - name: Compress (Unix) if: ${{ matrix.job.os != 'windows-latest' }} run: zip -j espup-${{ matrix.job.target }}.zip target/${{ matrix.job.target }}/release/espup${{ matrix.job.binary-postfix }} diff --git a/Cargo.toml b/Cargo.toml index 2584bdd..db0c9f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,12 @@ pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive bin-dir = "{ bin }{ binary-ext }" pkg-fmt = "tgz" +[features] +vendored-openssl = ['openssl/vendored'] + +[dependencies.openssl] +version = "0.10" +optional = true [profile.release] lto = "thin"