From 330d28788f54dc94664a316bd29b354341f0aa38 Mon Sep 17 00:00:00 2001 From: Jacob Rothstein Date: Thu, 7 Mar 2024 01:37:22 -0800 Subject: [PATCH] feat: change default crypto provider to match rustls' (#50) --- .github/workflows/CI.yml | 9 +++++++++ Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d3256154..d3033204 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -44,6 +44,15 @@ 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: Test run: | cargo test --all diff --git a/Cargo.toml b/Cargo.toml index 5ef4d6a3..1e68c974 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ rustls = { version = "0.23", default-features = false, features = ["std"] } pki-types = { package = "rustls-pki-types", version = "1" } [features] -default = ["logging", "tls12", "ring"] +default = ["logging", "tls12", "aws-lc-rs"] aws-lc-rs = ["rustls/aws_lc_rs"] early-data = [] fips = ["rustls/fips"]