diff --git a/CHANGELOG.md b/CHANGELOG.md index 1365e19..7a0634e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +mail-parser 0.4.4 +================================ +- Support for multi-line headers. +- Text and HTML message body preview. +- Improved support for raw headers. + mail-parser 0.4.3 ================================ - Mbox file parsing support (issue #11) conforming to the [QMail specification](http://qmail.org/qmail-manual-html/man5/mbox.html). diff --git a/Cargo.lock b/Cargo.lock index 0709a28..43aedc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -68,12 +68,11 @@ checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" [[package]] name = "mail-parser" -version = "0.4.3" +version = "0.4.4" dependencies = [ "bincode", "encoding_rs", "serde", - "serde_bytes", "serde_json", "serde_yaml", ] @@ -111,15 +110,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "serde_bytes" -version = "0.11.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16ae07dd2f88a366f15bd0632ba725227018c69a1c8550a927324f8eb8368bb9" -dependencies = [ - "serde", -] - [[package]] name = "serde_derive" version = "1.0.130" diff --git a/Cargo.toml b/Cargo.toml index 0a31ee0..3a1d532 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mail-parser" description = "Fast and robust e-mail parsing library for Rust" -version = "0.4.3" +version = "0.4.4" edition = "2018" authors = [ "Stalwart Labs "] license = "Apache-2.0 OR MIT" @@ -14,7 +14,6 @@ readme = "README.md" [dependencies] encoding_rs = {version="0.8", optional=true} serde = { version = "1.0", features = ["derive"], optional=true} -serde_bytes = { version = "0.11", optional=true} [dev-dependencies] serde_yaml = "0.8" @@ -24,7 +23,7 @@ bincode = "1.3.3" [features] default = ["serde_support", "full_encoding"] full_encoding = ["encoding_rs"] -serde_support = ["serde", "serde_bytes"] +serde_support = ["serde"] [profile.bench] debug = true diff --git a/README.md b/README.md index 8c8f3b1..0bdc01d 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 println!("{}", serde_yaml::to_string(&message).unwrap()); ``` -More examples available under the [examples](examples) directory. +More examples available under the [examples](examples) directory. Please note that this library does not support building e-mail messages as this functionality is provided separately by the [`mail-builder`](https://crates.io/crates/mail-builder) crate. ## Testing, Fuzzing & Benchmarking