Skip to content

Commit

Permalink
Switch default crypto backend to aws-lc-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobarbolini committed Apr 26, 2024
1 parent 7b7c3fd commit 874274a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
uses: actions/setup-go@v4 # v4 uses caching out of the box
with:
go-version: '1.22'
- name: Install NASM on Windows
if: runner.os == 'Windows'
uses: ilammy/setup-nasm@v1
- name: Install nats-server
run: go install github.com/nats-io/nats-server/v2@main
- name: Install stable Rust on ${{ matrix.os }}
Expand Down
3 changes: 1 addition & 2 deletions async-nats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@ num = "0.4.1"


[features]
default = ["server_2_10", "ring"]
default = ["server_2_10", "aws_lc_rs"]
# Enables Service API for the client.
service = []
aws_lc_rs = ["tokio-rustls/aws_lc_rs"]
aws_lc_rs = ["dep:aws-lc-rs", "tokio-rustls/aws_lc_rs"]
ring = ["dep:ring", "tokio-rustls/ring"]
fips = ["aws_lc_rs", "tokio-rustls/fips"]
Expand Down

0 comments on commit 874274a

Please sign in to comment.