From bcf182bbc13986381bf451d9a8ff0f3c7c1e75b1 Mon Sep 17 00:00:00 2001 From: Mauro D Date: Wed, 3 Nov 2021 15:03:23 +0000 Subject: [PATCH] v0.2.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9f43f6f..6f3a2d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -59,7 +59,7 @@ checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" [[package]] name = "mail-parser" -version = "0.2.0" +version = "0.2.1" dependencies = [ "encoding_rs", "serde", diff --git a/Cargo.toml b/Cargo.toml index 93dfdb5..56ea3cd 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.2.0" +version = "0.2.1" edition = "2018" authors = [ "Stalwart Labs "] license = "Apache-2.0 OR MIT" diff --git a/src/lib.rs b/src/lib.rs index f094a4e..c47038d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -255,6 +255,7 @@ //! println!("{}", serde_json::to_string_pretty(&message).unwrap()); //! println!("{}", serde_yaml::to_string(&message).unwrap()); //!``` +#[forbid(unsafe_code)] pub mod decoders; pub mod parsers;