re-export openssl connector builder

This commit is contained in:
Rob Ede 2021-12-10 22:35:46 +00:00
parent 90f205a465
commit 6c0de85f5d
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,9 @@
# Changes
## Unreleased - 2021-xx-xx
* Re-export `openssl::SslConnectorBuilder` in `connect::openssl::reexports`. [#???]
[#???]: https://github.com/actix/actix-net/pull/???
## 3.0.0-rc.1 - 2021-11-29
### Added

View File

@ -22,7 +22,9 @@ use crate::connect::{Connection, Host};
pub mod reexports {
//! Re-exports from `openssl` and `tokio-openssl` that are useful for connectors.
pub use openssl::ssl::{Error, HandshakeError, SslConnector, SslMethod};
pub use openssl::ssl::{
Error, HandshakeError, SslConnector, SslConnectorBuilder, SslMethod,
};
pub use tokio_openssl::SslStream as AsyncSslStream;
}