Add options for specifying the TLS version (#1315)

This commit is contained in:
Jan Verbeek
2021-08-12 18:41:32 +02:00
committed by GitHub
parent bdc57beabb
commit 66c1b48167
5 changed files with 248 additions and 4 deletions

View File

@@ -298,7 +298,8 @@ if_hyper! {
};
pub use self::proxy::Proxy;
#[cfg(feature = "__tls")]
pub use self::tls::{Certificate, Identity};
// Re-exports, to be removed in a future release
pub use tls::{Certificate, Identity};
#[cfg(feature = "multipart")]
pub use self::async_impl::multipart;
@@ -314,7 +315,7 @@ if_hyper! {
mod proxy;
pub mod redirect;
#[cfg(feature = "__tls")]
mod tls;
pub mod tls;
mod util;
}