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;