Browse Source

ci: test crate features

Yujia Qiao 4 years ago
parent
commit
b173b9e22a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .github/workflows/rust.yml

+ 5 - 0
.github/workflows/rust.yml

@@ -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