summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Korber <pilippkorber@gmail.com>2018-09-25 17:51:52 +0200
committerPhilipp Korber <pilippkorber@gmail.com>2018-09-25 17:51:52 +0200
commitbad94a94285a6d13cb02c26702c525a9e1b3e32f (patch)
tree7879b3e1a201786a9577b1693873aa096025b9a4
parent53cafca7768d9e48f81102bc60aa4420be8aa9a9 (diff)
chore(deps) mail-types => mail-base
-rw-r--r--Cargo.toml4
-rw-r--r--README.md6
-rw-r--r--src/lib.rs6
3 files changed, 8 insertions, 8 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3c3e708..9d1825e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ authors = ["Philipp Korber <p.korber@1aim.com>"]
name = "mail-smtp"
version = "0.2.0-wip"
categories = []
-description = "[internal/mail-api] combines mail-types with new-tokio-smtp"
+description = "[internal/mail-api] combines mail-base with new-tokio-smtp"
documentation = "https://docs.rs/mail-smtp"
keywords = ["mail-api"]
license = "MIT OR Apache-2.0"
@@ -13,7 +13,7 @@ repository = "https://github.com/1aim/mail-smtp"
[dependencies]
futures = "0.1"
failure = "0.1.1"
-mail-types = { git="https://github.com/1aim/mail-types" }
+mail-base = { git="https://github.com/1aim/mail-types" }
mail-common = { git="https://github.com/1aim/mail-common" }
mail-headers = { git="https://github.com/1aim/mail-headers" }
new-tokio-smtp = { git="https://github.com/1aim/new-tokio-smtp" }
diff --git a/README.md b/README.md
index 83d9b0e..0d1b08f 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# mail-smtp &emsp;
-**Allows sending `mail-types` `Mail`'s through `new-tokio-smtp`**
+**Allows sending `mail-base` `Mail`'s through `new-tokio-smtp`**
---
@@ -29,14 +29,14 @@ the same (e.g. for bounce back mails and some no-reply setups).
```rust ,no_run
extern crate futures;
//if you use the mail facade use the re-exports from it instead
-extern crate mail_types;
+extern crate mail_base;
extern crate mail_smtp;
#[macro_use] extern crate mail_headers;
use futures::Future;
use mail_headers::*;
use mail_headers::components::Domain;
-use mail_types::{Mail, default_impl::simple_context};
+use mail_base::{Mail, default_impl::simple_context};
use mail_smtp::{send_mails, ConnectionConfig};
fn main() {
diff --git a/src/lib.rs b/src/lib.rs
index 278492f..0aa135f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -22,7 +22,7 @@
//! ```no_run
//! extern crate futures;
//! //if you use the mail facade use the re-exports from it instead
-//! extern crate mail_types;
+//! extern crate mail_base;
//! extern crate mail_smtp;
//! #[macro_use] extern crate mail_headers;
//!
@@ -31,7 +31,7 @@
//! headers::*,
//! header_components::Domain
//! };
-//! use mail_types::{Mail, default_impl::simple_context};
+//! use mail_base::{Mail, default_impl::simple_context};
//! use mail_smtp::{self as smtp, ConnectionConfig};
//!
//! # fn main() {
@@ -60,7 +60,7 @@
//!
extern crate futures;
extern crate new_tokio_smtp;
-extern crate mail_types as mail;
+extern crate mail_base as mail;
extern crate mail_common;
#[cfg_attr(test, macro_use)]
extern crate mail_headers as headers;