From a41ed49c8e4a960319db5212da437ba25e1651c0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 23 Dec 2019 11:57:33 +0100 Subject: Add crate: mail-parser Signed-off-by: Matthias Beyer --- Cargo.toml | 3 ++- parser/Cargo.toml | 17 +++++++++++++++++ parser/src/lib.rs | 7 +++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 parser/Cargo.toml create mode 100644 parser/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 07a333c..c5507f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,8 @@ members = [ "headers", "internals", "smtp", - "template" + "template", + "parser" ] diff --git a/parser/Cargo.toml b/parser/Cargo.toml new file mode 100644 index 0000000..3153989 --- /dev/null +++ b/parser/Cargo.toml @@ -0,0 +1,17 @@ +[package] +name = "mail-parser" +version = "0.6.11" +description = "[mail-parser] parser for the Mail type" +authors = ["Matthias Beyer "] + +license = "MIT OR Apache-2.0" +readme = "./README.md" +repository = "https://github.com/dac-gmbh/mail" +edition = "2018" + +categories = [] +keywords = ["mail", "rfc5322", "mime", "smtp", "template"] +autoexamples = true + + +[dependencies] diff --git a/parser/src/lib.rs b/parser/src/lib.rs new file mode 100644 index 0000000..31e1bb2 --- /dev/null +++ b/parser/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +} -- cgit v1.2.3