diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f2f04bd..0555228 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -80,7 +80,7 @@ jobs: components: rustfmt, clippy, rust-docs - name: clippy - run: cargo clippy --benches --bins --examples --tests -- -D warnings + run: cargo clippy --all-features --benches --bins --examples --tests -- -D warnings - name: fmt run: cargo fmt --all -- --check diff --git a/src/config.rs b/src/config.rs index 403a0a2..8bbf5c4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -203,7 +203,7 @@ impl Config { } /// Set TLS Configuration (Native TLS) #[cfg_attr(feature = "docs", doc(cfg(feature = "h1-client")))] - #[cfg(feature = "h1-client")] + #[cfg(all(feature = "h1-client", not(feature = "h1-client-rustls")))] pub fn set_tls_config( mut self, tls_config: Option>,