Move things
This commit is contained in:
@@ -34,12 +34,12 @@ pub use self::async_net::AsyncNetworkStream;
|
||||
pub use self::async_net::AsyncTokioStream;
|
||||
use self::net::NetworkStream;
|
||||
#[cfg(any(feature = "native-tls", feature = "rustls", feature = "boring-tls"))]
|
||||
pub(super) use self::tls::InnerTlsParameters;
|
||||
pub(super) use self::tls::deprecated::InnerTlsParameters;
|
||||
#[cfg(any(feature = "native-tls", feature = "rustls", feature = "boring-tls"))]
|
||||
pub use self::tls::TlsVersion;
|
||||
pub use self::tls::deprecated::TlsVersion;
|
||||
pub use self::{
|
||||
connection::SmtpConnection,
|
||||
tls::{Certificate, Identity, Tls, TlsParameters, TlsParametersBuilder},
|
||||
tls::deprecated::{Certificate, Identity, Tls, TlsParameters, TlsParametersBuilder},
|
||||
};
|
||||
|
||||
#[cfg(any(feature = "tokio1", feature = "async-std1"))]
|
||||
|
||||
1
src/transport/smtp/client/tls/boring_tls.rs
Normal file
1
src/transport/smtp/client/tls/boring_tls.rs
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
7
src/transport/smtp/client/tls/mod.rs
Normal file
7
src/transport/smtp/client/tls/mod.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
#[cfg(feature = "boring-tls")]
|
||||
mod boring_tls;
|
||||
pub(super) mod deprecated;
|
||||
#[cfg(feature = "native-tls")]
|
||||
mod native_tls;
|
||||
#[cfg(feature = "rustls")]
|
||||
mod rustls;
|
||||
1
src/transport/smtp/client/tls/native_tls.rs
Normal file
1
src/transport/smtp/client/tls/native_tls.rs
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
src/transport/smtp/client/tls/rustls.rs
Normal file
1
src/transport/smtp/client/tls/rustls.rs
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user