Skip to content

Commit 14e4e86

Browse files
committed
Merge
2 parents d25ba94 + 44cff7c commit 14e4e86

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ doctest = false
1919
default = ["ring", "rustls-pemfile", "report"]
2020
rust-crypto = ["ed25519-dalek", "rsa", "sha1", "sha2"]
2121
generate = ["rsa", "rand"]
22-
report = ["quick-xml"]
22+
report = ["quick-xml", "zip"]
2323
test = []
2424
rkyv = ["dep:rkyv", "mail-parser/rkyv"]
2525

@@ -38,7 +38,7 @@ serde_json = "1.0"
3838
sha1 = { version = "0.10", features = ["oid"], optional = true }
3939
sha2 = { version = "0.10.6", features = ["oid"], optional = true }
4040
hickory-resolver = { version = "0.25", features = ["tls-ring", "dnssec-ring"] }
41-
zip = "2.1.1"
41+
zip = { version = "2.1.1", optional = true }
4242
rand = { version = "0.8.5", optional = true }
4343
quick_cache = "0.6.9"
4444
rkyv = { version = "0.8.10", optional = true }

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ pub mod spf;
3838

3939
pub use flate2;
4040
pub use hickory_resolver;
41+
#[cfg(feature = "report")]
4142
pub use zip;
4243

4344
#[derive(Clone)]

0 commit comments

Comments
 (0)