Skip to content

Commit

Permalink
Cargo.toml: add aws-lc-rs feature as crypto backend
Browse files Browse the repository at this point in the history
  • Loading branch information
BiagioFesta authored and cpu committed Feb 22, 2024
1 parent 3582863 commit 68c7d05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 68c7d05

Please sign in to comment.