summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/Cargo.toml2
-rw-r--r--mail/src/lib.rs4
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/Cargo.toml b/mail/Cargo.toml
index 7af9cc2..b1db32f 100644
--- a/mail/Cargo.toml
+++ b/mail/Cargo.toml
@@ -18,7 +18,7 @@ smtp = ["mail-smtp"]
#render-template-engine = ["mail-render-template-engine"]
traceing = ["mail-internals/traceing", "mail-headers/traceing"]
-
+test-utils = ["mail-core/test-utils"]
[dependencies]
diff --git a/mail/src/lib.rs b/mail/src/lib.rs
index cbb20b0..e799516 100644
--- a/mail/src/lib.rs
+++ b/mail/src/lib.rs
@@ -174,6 +174,10 @@ pub mod default_impl {
pub use mail::default_impl::*;
}
+#[cfg(feature="test-utils")]
+pub mod test_utils {
+ pub use mail::test_utils::*;
+}
pub use mail_internals::MailType;