Allow configuring TLS backend (#386)

This commit is contained in:
Erick Guan 2025-02-26 00:27:44 +01:00 committed by GitHub
commit 09ef7f534e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 228 additions and 47 deletions

View file

@ -22,8 +22,11 @@ jobs:
toolchain: ${{ matrix.toolchain }}
- name: Build with default features
run: cargo build
- name: Build with logging and webpki roots
run: cargo build --features logging,webpki-roots --no-default-features
- name: Build with logging and Rustls with webpki roots
run: cargo build --features logging,rustls-with-webpki-roots --no-default-features
- name: Build with native TLS backend
# expects runners have the proper Native SSL library
run: cargo build --features native-tls --no-default-features
- name: Run tests
run: cargo test -- --test-threads 1