ci: test crate features

This commit is contained in:
Yujia Qiao 2021-12-20 12:42:54 +08:00 committed by Yujia Qiao
parent dc04befa5a
commit b173b9e22a
1 changed files with 5 additions and 0 deletions

View File

@ -26,5 +26,10 @@ jobs:
run: cargo clippy
- name: Build
run: cargo build --verbose
- name: Build with features
run: |
cargo build --no-default-features --features client,server
cargo build --no-default-features --features client,tls
cargo build --no-default-features --features server,tls
- name: Run tests
run: cargo test --verbose