summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Korber <philippkorber@gmail.com>2018-11-23 20:22:23 +0100
committerPhilipp Korber <philippkorber@gmail.com>2018-11-23 20:24:41 +0100
commit75490fcac9659eee84dc2f907cf5d8c01a8c1a11 (patch)
tree4106e3c5558c53c8e0e57d5e9e4b8d050a91c87d
parentc02c3dd1efc03ef76857b2d0578843a3cf5f50f1 (diff)
chore(headers/deps) changed deps to crates version
-rw-r--r--headers/Cargo.toml13
-rw-r--r--headers/src/lib.rs2
2 files changed, 5 insertions, 10 deletions
diff --git a/headers/Cargo.toml b/headers/Cargo.toml
index 8f973a4..ced692f 100644
--- a/headers/Cargo.toml
+++ b/headers/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "mail-headers"
-description = "[internal/mail-api] header parts for the mail-api crate (inkl. header map and standard header impl)"
-version = "0.6.0-wip"
+description = "[mail/headers] header parts for the mail crate (inkl. header map and standard header impl)"
+version = "0.6.0"
authors = ["Philipp Korber <philippkorber@gmail.com>"]
documentation = "https://docs.rs/mail-headers"
keywords = []
@@ -14,7 +14,7 @@ serde-impl = [ "serde", "vec1/serde" ]
traceing = [ "mail-internals/traceing" ]
[dependencies]
-mail-internals = { path="../internals" }
+mail-internals = "0.2.0"
failure = "0.1"
owning_ref = "0.4"
nom = "3.1.0"
@@ -24,12 +24,7 @@ vec1 = "1"
chrono = "0.4"
total-order-multi-map = "0.4.5"
serde = { version="1.0", optional=true, features=["derive"] }
-
-[dependencies.mime]
-git="https://github.com/1aim/mime"
-branch="parser_revamp"
-features=["expose-param-utils"]
-version="0.4.0"
+media-type = "0.4.0-unstable"
[dev-dependencies]
serde_test = "1.0.80"
diff --git a/headers/src/lib.rs b/headers/src/lib.rs
index 67f56e6..99868f2 100644
--- a/headers/src/lib.rs
+++ b/headers/src/lib.rs
@@ -114,7 +114,7 @@
//! }
//! ```
-extern crate mime;
+extern crate media_type;
#[doc(hidden)]
pub extern crate soft_ascii_string;
extern crate quoted_string;