Skip to content

Commit

Permalink
v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Oct 2, 2023
1 parent 1eb0b5a commit 665f46d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "mail-builder"
description = "E-mail builder library for Rust"
version = "0.3.1"
edition = "2018"
edition = "2021"
authors = [ "Stalwart Labs <[email protected]>"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/stalwartlabs/mail-builder"
Expand All @@ -19,7 +19,7 @@ ludicrous_mode = []
gethostname = "0.4.0"

[dev-dependencies]
mail-parser = "0.8"
mail-parser = "0.9"
serde = { version = "1.0", features = ["derive"]}
serde_yaml = "0.9.10"
serde_json = "1.0"
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ impl<'x> MessageBuilder<'x> {
#[cfg(test)]
mod tests {

use mail_parser::Message;
use mail_parser::MessageParser;

use crate::{
headers::{address::Address, url::URL},
Expand Down Expand Up @@ -557,7 +557,7 @@ mod tests {
))
.write_to_vec()
.unwrap();
Message::parse(&output).unwrap();
MessageParser::new().parse(&output).unwrap();
//fs::write("test.yaml", &serde_yaml::to_string(&message).unwrap()).unwrap();
}

Expand Down Expand Up @@ -602,6 +602,6 @@ mod tests {
)
.write_to_vec()
.unwrap();
Message::parse(&output).unwrap();
MessageParser::new().parse(&output).unwrap();
}
}

0 comments on commit 665f46d

Please sign in to comment.