Commit
Author: Mauro D [mauro@stalw.art]
Hash: 0c93f7b18a6370bd3c86671e4d121c0f0b2f0b23
Timestamp: Fri, 02 Jun 2023 17:45:50 +0000 (1 year ago)

+10 -5 +/-3 browse
v0.3.2
1diff --git a/CHANGELOG.md b/CHANGELOG.md
2index 07c5f7b..7c1e2de 100644
3--- a/CHANGELOG.md
4+++ b/CHANGELOG.md
5 @@ -1,6 +1,11 @@
6+ mail-auth 0.3.2
7+ ================================
8+ - Bump `mail-builder` dependency to 0.3
9+ - Bump `quick-xml` dependency to 0.28
10+
11 mail-auth 0.3.1
12 ================================
13- - Fix: Avoid panicking on invalid RSA key input (#17)
14+ - Fix: Avoid panicking on invalid RSA key input (#17)
15
16 mail-auth 0.3.0
17 ================================
18 diff --git a/Cargo.toml b/Cargo.toml
19index 9cfcf1b..1e767b5 100644
20--- a/Cargo.toml
21+++ b/Cargo.toml
22 @@ -1,7 +1,7 @@
23 [package]
24 name = "mail-auth"
25 description = "DKIM, ARC, SPF and DMARC library for Rust"
26- version = "0.3.1"
27+ version = "0.3.2"
28 edition = "2021"
29 authors = [ "Stalwart Labs <hello@stalw.art>"]
30 license = "Apache-2.0 OR MIT"
31 @@ -26,9 +26,9 @@ ed25519-dalek = { version = "1.0.1", optional = true }
32 flate2 = "1.0.25"
33 lru-cache = "0.1.2"
34 mail-parser = { version = "0.8", git = "https://github.com/stalwartlabs/mail-parser", features = ["ludicrous_mode", "full_encoding"] }
35- mail-builder = { version = "0.2.5", git = "https://github.com/stalwartlabs/mail-builder", features = ["ludicrous_mode"] }
36+ mail-builder = { version = "0.3", git = "https://github.com/stalwartlabs/mail-builder", features = ["ludicrous_mode"] }
37 parking_lot = "0.12.0"
38- quick-xml = "0.27.1"
39+ quick-xml = "0.28"
40 ring = { version = "0.16.20", optional = true }
41 rsa = { version = "0.7.0", optional = true }
42 rustls-pemfile = { version = "1", optional = true }
43 diff --git a/src/report/dmarc/generate.rs b/src/report/dmarc/generate.rs
44index f0d6235..a322400 100644
45--- a/src/report/dmarc/generate.rs
46+++ b/src/report/dmarc/generate.rs
47 @@ -67,7 +67,7 @@ impl Report {
48 submitter,
49 self.report_id()
50 ))
51- .binary_attachment(
52+ .attachment(
53 "application/gzip",
54 format!(
55 "{}!{}!{}!{}.xml.gz",