Skip to content

Commit

Permalink
pelikan-net: multiple TLS/SSL implementations (#122)
Browse files Browse the repository at this point in the history
Refactors the pelikan-net crate to allow building without TLS/SSL,
or with either BoringSSL or OpenSSL as TLS/SSL providers.
  • Loading branch information
brayniac committed Apr 8, 2024
1 parent 51042d6 commit 0c05f32
Show file tree
Hide file tree
Showing 14 changed files with 1,428 additions and 459 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ jobs:
run: |
cargo check --all-targets
check-powerset:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: swlynch99/cargo-sweep-action@v1
- uses: taiki-e/install-action@cargo-hack

- name: check powerset
run: |
cargo hack --feature-powerset check --locked
clippy:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -116,16 +129,16 @@ jobs:
- name: build
shell: bash
run: |
cargo build --workspace --all-features --all-targets --locked ${{ env.FLAGS }}
cargo build --workspace --all-targets --locked ${{ env.FLAGS }}
- name: test
shell: bash
run: |
cargo test --workspace --all-features --tests --lib --bins --examples --locked ${{ env.FLAGS }}
cargo test --workspace --tests --lib --bins --examples --locked ${{ env.FLAGS }}
- name: doctests
if: ${{ matrix.profile == 'debug' }}
shell: bash
run: |
cargo test --workspace --all-features --doc --locked -- --test-threads 16
cargo test --workspace --doc --locked -- --test-threads 16
- name: generate bin artifact
if: ${{ matrix.profile == 'release' && matrix.os == 'ubuntu-latest' }}
Expand Down

0 comments on commit 0c05f32

Please sign in to comment.