diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 38ccbd41..3f701c79 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -110,6 +110,7 @@ jobs: - brotli - json - native-tls + - rustls-no-provider env: RUST_BACKTRACE: "1" RUSTFLAGS: "-D dead_code -D unused-variables -D unused" diff --git a/src/unversioned/transport/mod.rs b/src/unversioned/transport/mod.rs index ad014b2b..5c94dac5 100644 --- a/src/unversioned/transport/mod.rs +++ b/src/unversioned/transport/mod.rs @@ -59,7 +59,7 @@ pub use self::socks::SocksConnector; pub use crate::proxy::ConnectProxyConnector; -#[cfg(feature = "rustls")] +#[cfg(feature = "_rustls")] pub use crate::tls::rustls::RustlsConnector; #[cfg(feature = "native-tls")]