Skip to content

Commit

Permalink
Mitigate version mismatch of public rustls dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Sep 17, 2024
1 parent 11aed99 commit bb8efe1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,18 @@
//! [actix-web](https://crates.io/crates/actix-web), and [hyper](https://crates.io/crates/hyper).
//!

/// Re-exported rustls crate
///
/// Use this re-export to always get a compatible version of `ClientConfig`.
#[cfg(feature = "rustls")]
pub use rustls;

/// Re-exported native-tls crate
///
/// Use this re-export to always get a compatible version of `TlsConnector`.
#[cfg(feature = "native-tls")]
pub use native_tls;

mod agent;
mod body;
mod chunked;
Expand Down

0 comments on commit bb8efe1

Please sign in to comment.