Skip to content

Commit

Permalink
Fix broken compilation without rustls
Browse files Browse the repository at this point in the history
  • Loading branch information
algesten committed Jan 6, 2025
1 parent fd82f2b commit 423aa8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/unversioned/transport/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 423aa8f

Please sign in to comment.