Skip to content

Commit 3e426cc

Browse files
committed
Fix broken compilation without rustls
1 parent fd82f2b commit 3e426cc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ jobs:
110110
- brotli
111111
- json
112112
- native-tls
113+
- rustls-no-provider
113114
env:
114115
RUST_BACKTRACE: "1"
115116
RUSTFLAGS: "-D dead_code -D unused-variables -D unused"

src/unversioned/transport/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub use self::socks::SocksConnector;
5959

6060
pub use crate::proxy::ConnectProxyConnector;
6161

62-
#[cfg(feature = "rustls")]
62+
#[cfg(feature = "_rustls")]
6363
pub use crate::tls::rustls::RustlsConnector;
6464

6565
#[cfg(feature = "native-tls")]

0 commit comments

Comments
 (0)