Skip to content

Commit

Permalink
feat: add features for other tls types
Browse files Browse the repository at this point in the history
Turned out to be rather easy due to all tls being handled by our dependencies.

Don't love the _fallback-tls feature, however with it we can use cargo-all-features,
which helps reduce feature related bugs.

Downside of cargo-all-features is it takes a long time to execute.

Fixes: 1c3t3a#407, 1c3t3a#366
  • Loading branch information
ctrlaltf24 committed Sep 20, 2024
1 parent 6954d99 commit 76f9be1
Show file tree
Hide file tree
Showing 17 changed files with 645 additions and 102 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ jobs:
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install cargo-all-features
run: cargo install cargo-all-features

- name: Build
run: cargo build --verbose --all-features
run: cargo build-all-features --verbose
- name: Linting
run: cargo clippy --verbose --all-features
- name: Check formatting
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,14 @@ jobs:
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Run testsuite
run: cargo test --verbose --features "async"
- name: Install cargo-all-features
run: cargo install cargo-all-features

- name: Run unit tests
run: cargo test-all-features --verbose --lib --examples

- name: Run doc tests
run: cargo test-all-features --verbose --lib --examples --doc

- name: Run integration tests
run: cargo test --verbose --features "async" --benches --tests
Loading

0 comments on commit 76f9be1

Please sign in to comment.