Add support for alternate TLs implementations.
This commit is contained in:
committed by
Martin Algesten
parent
1c1dfaa691
commit
56276c3742
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@@ -6,7 +6,7 @@ jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
with:
|
||||
command: doc
|
||||
# Keep in sync with Cargo.toml's [package.metadata.docs.rs]
|
||||
args: --no-default-features --no-deps --features "tls json charset cookies socks-proxy"
|
||||
args: --no-default-features --no-deps --features "tls native-tls json charset cookies socks-proxy"
|
||||
build_and_test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
@@ -47,7 +47,8 @@ jobs:
|
||||
matrix:
|
||||
tls:
|
||||
- ""
|
||||
- tls
|
||||
- "tls"
|
||||
- "native-tls"
|
||||
feature:
|
||||
- ""
|
||||
- json
|
||||
@@ -69,4 +70,4 @@ jobs:
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --no-default-features --features "${{ matrix.tls }} ${{ matrix.feature }}"
|
||||
args: --no-default-features --features "${{ matrix.tls }}" "${{ matrix.feature }}"
|
||||
|
||||
Reference in New Issue
Block a user