summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-12-23 11:57:33 +0100
committerMatthias Beyer <mail@beyermatthias.de>2019-12-23 11:57:33 +0100
commita41ed49c8e4a960319db5212da437ba25e1651c0 (patch)
tree1a3ed951dd648d513f9d5b8b6b84a851f468ea64
parent71ea078d4eb5d857680a69b01f7427ea43e2f5a2 (diff)
Add crate: mail-parser
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--Cargo.toml3
-rw-r--r--parser/Cargo.toml17
-rw-r--r--parser/src/lib.rs7
3 files changed, 26 insertions, 1 deletions
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 <mail@beyermatthias.de>"]
+
+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);
+ }
+}