summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/lib.rs9
-rw-r--r--mail/Cargo.toml2
2 files changed, 6 insertions, 5 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index d8c2d37..f3595f5 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -16,6 +16,10 @@ extern crate futures;
extern crate rand;
extern crate vec1;
extern crate soft_ascii_string;
+extern crate checked_command;
+#[cfg_attr(test, macro_use)]
+extern crate mail_headers as headers;
+extern crate mail_internals as internals;
#[cfg(feature="serde")]
extern crate serde;
@@ -25,10 +29,7 @@ extern crate serde_test;
#[cfg(feature="default_impl_cpupool")]
extern crate futures_cpupool;
-extern crate mail_internals as common;
-#[cfg_attr(test, macro_use)]
-extern crate mail_headers as headers;
-extern crate checked_command;
+
#[macro_use]
diff --git a/mail/Cargo.toml b/mail/Cargo.toml
index de54bca..7af9cc2 100644
--- a/mail/Cargo.toml
+++ b/mail/Cargo.toml
@@ -27,7 +27,7 @@ mail-headers = { path="../headers" }
mail-core = { path="../core" }
#mail-template = { git="https://github.com/1aim/mail-template" }
#mail-derive = { git="https://github.com/1aim/mail-derive" }
-mail-smtp = { git="https://github.com/1aim/mail-smtp", optional=true }
+mail-smtp = { path="../smtp", optional=true }
#mail-render-template-engine = {git="https://github.com/1aim/mail-render-template-engine", optional=true }
[dev-dependencies]