summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Korber <philippkorber@gmail.com>2018-07-19 20:42:54 +0200
committerPhilipp Korber <philippkorber@gmail.com>2018-07-19 20:42:54 +0200
commit85dca9107d2c9194d272141803135699031310df (patch)
treeec4287f9c8b0249a323ad3fc04dcfbe7101170c3
parent33ae4821869ea544cb3a1bbd3a41e354c0618f91 (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.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 0e047f5..d70fabc 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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