Commit
Author: Kevin Schoon [me@kevinschoon.com]
Hash: bcf583cfdae39e079d7e4eb5ebe5361c6d56a880
Timestamp: Sun, 16 Feb 2025 22:01:35 +0000 (6 days ago)

+6 -11 +/-2 browse
drop quick-xml dependency by disabling report feature in mail-auth
1diff --git a/Cargo.lock b/Cargo.lock
2index db4f3b7..e185ed8 100644
3--- a/Cargo.lock
4+++ b/Cargo.lock
5 @@ -1209,7 +1209,6 @@ dependencies = [
6 "hickory-resolver",
7 "mail-builder 0.4.1",
8 "mail-parser 0.10.2",
9- "quick-xml",
10 "quick_cache",
11 "ring 0.17.8",
12 "rustls-pemfile 2.2.0",
13 @@ -1608,15 +1607,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
14 checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
15
16 [[package]]
17- name = "quick-xml"
18- version = "0.37.2"
19- source = "registry+https://github.com/rust-lang/crates.io-index"
20- checksum = "165859e9e55f79d67b96c5d96f4e88b6f2695a1972849c15a6a3f5c59fc2c003"
21- dependencies = [
22- "memchr",
23- ]
24-
25- [[package]]
26 name = "quick_cache"
27 version = "0.6.9"
28 source = "registry+https://github.com/rust-lang/crates.io-index"
29 diff --git a/Cargo.toml b/Cargo.toml
30index 72ff511..922bfad 100644
31--- a/Cargo.toml
32+++ b/Cargo.toml
33 @@ -10,7 +10,6 @@ bytes = "1.9.0"
34 email_address = "0.2.9"
35 futures = "0.3.31"
36 hickory-resolver = { version = "0.24.2", optional = true }
37- mail-auth = { version = "0.6.1", features = ["ring", "rustls-pemfile"], optional = true }
38 mail-builder = "0.3.2"
39 mail-parser = { version = "0.9.4", features = ["serde", "serde_support"] }
40 maildir = "0.6.4"
41 @@ -28,6 +27,12 @@ tokio-util = { version = "0.7.13", features = ["full"], optional = true }
42 tracing = { version = "0.1.41", features = ["log"] }
43 url = "2.5.4"
44
45+ [dependencies.mail-auth]
46+ version = "0.6.1"
47+ features = ["ring", "rustls-pemfile"]
48+ default-features = false
49+ optional = true
50+
51 [dependencies.lettre]
52 version = "0.11.11"
53 features = ["dkim", "rustls-tls", "tokio1", "tokio1-rustls-tls", "builder", "hostname", "pool", "smtp-transport"]