Skip to content

Commit

Permalink
add aws_lc_rs support to use as crypto backend
Browse files Browse the repository at this point in the history
  • Loading branch information
BiagioFesta committed Dec 14, 2023
1 parent 53a5232 commit fbfe0bf
Show file tree
Hide file tree
Showing 8 changed files with 493 additions and 122 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
components: clippy
- run: cargo clippy --all-features --all-targets
- run: cargo clippy --no-default-features --all-targets
- run: cargo clippy --no-default-features --features aws_lc_rs,pem --all-targets

rustdoc:
name: Documentation
Expand Down Expand Up @@ -117,6 +117,8 @@ jobs:
arch: amd64
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install NASM for aws-lc-rs on Windows
uses: ilammy/setup-nasm@v1
- run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
- run: vcpkg install openssl:x64-windows-static-md
- name: Run cargo check
Expand All @@ -125,8 +127,8 @@ jobs:
run: cargo test --all-targets
- name: Run the tests with x509-parser enabled
run: cargo test --verbose --features x509-parser --all-targets
- name: Run the tests with no default features enabled
run: cargo test --verbose --no-default-features --all-targets
- name: Run the tests with aws_lc_rs backend enabled
run: cargo test --verbose --no-default-features --features aws_lc_rs,pem --all-targets

build:
strategy:
Expand Down Expand Up @@ -164,8 +166,8 @@ jobs:
run: cargo test --all-targets
- name: Run the tests with x509-parser enabled
run: cargo test --verbose --features x509-parser --all-targets
- name: Run the tests with no default features enabled
run: cargo test --verbose --no-default-features --all-targets
- name: Run the tests with aws_lc_rs backend enabled
run: cargo test --verbose --no-default-features --features aws_lc_rs,pem --all-targets

coverage:
name: Measure coverage
Expand Down
Loading

0 comments on commit fbfe0bf

Please sign in to comment.