summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Korber <philippkorber@gmail.com>2018-11-23 20:28:17 +0100
committerPhilipp Korber <philippkorber@gmail.com>2018-11-23 20:28:17 +0100
commit0fa499a90decee98f10ba3d8126e4098dcf9dbab (patch)
tree283cd9ff31e35aeb5ca129931e805d4bfb4b2591
parent75490fcac9659eee84dc2f907cf5d8c01a8c1a11 (diff)
chore(core/deps) use crates deps instead of path/github deps
-rw-r--r--core/Cargo.toml13
-rw-r--r--core/src/lib.rs2
2 files changed, 6 insertions, 9 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 3af06d1..249e500 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "mail-core"
-version = "0.6.0-wip"
-description = "[internal/mail-api] provides the Mail type for the mail-api crates (inkl. multipart mime bodies, builder and resource type)"
+version = "0.6.0"
+description = "[mail/core] provides the Mail type for the mail crate (inkl. multipart mime bodies, builder and resource type)"
authors = ["Philipp Korber <p.korber@1aim.com>"]
keywords = ["mail-api", "internal"]
categories = []
@@ -17,8 +17,8 @@ default_impl_cpupool = ["futures-cpupool"]
test-utils = ["default", "lazy_static"]
[dependencies]
-mail-internals = { path="../internals" }
-mail-headers = { path="../headers" }
+mail-internals = "0.2.0"
+mail-headers = "0.6.0"
failure = "0.1.2"
futures = "0.1.24"
log = "0.3.8"
@@ -30,10 +30,7 @@ serde = { version="1.0", optional=true, features=["derive"] }
checked_command = "0.2.2"
lazy_static = { version="1.2.0", optional=true }
-[dependencies.mime]
-git="https://github.com/1aim/mime"
-branch="parser_revamp"
-version="0.4.0"
+media-type = "0.4.0-unstable"
[dependencies.futures-cpupool]
optional = true
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 0ce4bbc..8c880cc 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -10,7 +10,7 @@
extern crate log;
#[macro_use]
extern crate failure;
-extern crate mime as media_type;
+extern crate media_type;
extern crate chrono;
extern crate futures;
extern crate rand;