diff options
author | Philipp Korber <philippkorber@gmail.com> | 2018-07-19 20:42:54 +0200 |
---|---|---|
committer | Philipp Korber <philippkorber@gmail.com> | 2018-07-19 20:42:54 +0200 |
commit | 85dca9107d2c9194d272141803135699031310df (patch) | |
tree | ec4287f9c8b0249a323ad3fc04dcfbe7101170c3 | |
parent | 33ae4821869ea544cb3a1bbd3a41e354c0618f91 (diff) |
feat(tokio-smtp) re-exported some parts of new-tokio-smtp
Mainly thinks potentially needed for simple setups:
- ConnectionConfig, ConnectionBuilder
- all "auth" commands (and errors specific to them)
- ClientId, Domain and AddressLiteral
-rw-r--r-- | src/lib.rs | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -13,4 +13,12 @@ mod request; mod send_mail; pub use self::request::*; -pub use self::send_mail::*;
\ No newline at end of file +pub use self::send_mail::*; + +pub use new_tokio_smtp::{ConnectionConfig, ConnectionBuilder}; +pub use new_tokio_smtp::command::auth; +pub mod misc { + pub use new_tokio_smtp::ClientId; + pub use new_tokio_smtp::Domain; + pub use new_tokio_smtp::AddressLiteral; +}
\ No newline at end of file |