diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f93999..27ae1e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,6 +40,14 @@ jobs: with: toolchain: ${{ matrix.rust }} + - name: Install NASM for aws-lc-rs on Windows + if: runner.os == 'Windows' + uses: ilammy/setup-nasm@v1 + + - name: Install ninja-build tool for aws-lc-fips-sys on Windows + if: runner.os == 'Windows' + uses: seanmiddleditch/gha-setup-ninja@v4 + - name: cargo check (default features) run: cargo check --all-targets diff --git a/Cargo.toml b/Cargo.toml index 0bd3cf5..f7e52a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,7 @@ tokio = { version = "1.0", features = ["io-std", "macros", "net", "rt-multi-thre [features] default = ["native-tokio", "http1", "tls12", "logging", "ring"] +aws-lc-rs = ["rustls/aws_lc_rs"] http1 = ["hyper-util/http1"] http2 = ["hyper-util/http2"] webpki-tokio = ["webpki-roots"]