Skip to content

Commit 68c7d05

Browse files
BiagioFestacpu
authored andcommitted
Cargo.toml: add aws-lc-rs feature as crypto backend
1 parent 3582863 commit 68c7d05

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/build.yml

+8
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
4040
with:
4141
toolchain: ${{ matrix.rust }}
4242

43+
- name: Install NASM for aws-lc-rs on Windows
44+
if: runner.os == 'Windows'
45+
uses: ilammy/setup-nasm@v1
46+
47+
- name: Install ninja-build tool for aws-lc-fips-sys on Windows
48+
if: runner.os == 'Windows'
49+
uses: seanmiddleditch/gha-setup-ninja@v4
50+
4351
- name: cargo check (default features)
4452
run: cargo check --all-targets
4553

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ tokio = { version = "1.0", features = ["io-std", "macros", "net", "rt-multi-thre
3434

3535
[features]
3636
default = ["native-tokio", "http1", "tls12", "logging", "ring"]
37+
aws-lc-rs = ["rustls/aws_lc_rs"]
3738
http1 = ["hyper-util/http1"]
3839
http2 = ["hyper-util/http2"]
3940
webpki-tokio = ["webpki-roots"]

0 commit comments

Comments
 (0)