Skip to content

Commit b68c967

Browse files
committed
chore: use cargo-all-features to build with feature combinations
1 parent 90df9f5 commit b68c967

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ jobs:
3434
- name: Install krb5
3535
run: |
3636
sudo apt install -y libkrb5-dev
37+
- name: Install cargo-all-features
38+
run: cargo install cargo-all-features
3739
- name: Build code
38-
run: cargo build --all-features
40+
run: cargo build-all-features
3941
test:
4042
needs: [build]
4143
runs-on: ubuntu-latest

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ assert_matches = "1.5.0"
5858
tempfile = "3.6.0"
5959
rcgen = { version = "0.12.1", features = ["default", "x509-parser"] }
6060
serial_test = "3.0.0"
61+
62+
[package.metadata.cargo-all-features]
63+
skip_optional_dependencies = true

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ lint:
1212
cargo clippy --all-features --no-deps -- -D clippy::all
1313

1414
build:
15-
cargo build --all-features
15+
cargo build-all-features
1616

1717
test:
1818
cargo test --all-features

0 commit comments

Comments
 (0)