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 35a5f31 commit e43f626
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 @@ -322,6 +322,18 @@ use std::convert::TryFrom;
/// Re-exported http-crate.
pub use http;

/// 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;

pub use body::{Body, BodyReader, BodyWithConfig};
pub use config::{AgentConfig, Timeouts};
use http::Method;
Expand Down

0 comments on commit e43f626

Please sign in to comment.