drop bzip2 dependency

This commit is contained in:
Alwin Berger 2024-09-04 23:24:29 +02:00
parent 99145fca7c
commit bbe8991fbf
2 changed files with 14 additions and 26 deletions

25
Cargo.lock generated
View file

@ -230,27 +230,6 @@ version = "1.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50"
[[package]]
name = "bzip2"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8"
dependencies = [
"bzip2-sys",
"libc",
]
[[package]]
name = "bzip2-sys"
version = "0.1.11+1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
dependencies = [
"cc",
"libc",
"pkg-config",
]
[[package]]
name = "cc"
version = "1.1.15"
@ -2111,12 +2090,10 @@ dependencies = [
[[package]]
name = "zip"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc5e4288ea4057ae23afc69a4472434a87a2495cafce6632fd1c4ec9f5cf3494"
source = "git+https://github.com/alwinber/zip2.git#39f1ca8dffb60c2193720452a15e0f92031ea386"
dependencies = [
"aes",
"arbitrary",
"bzip2",
"constant_time_eq",
"crc32fast",
"crossbeam-utils",

View file

@ -13,6 +13,17 @@ clap = { version = "4.5.16", features = ["derive"] }
imap = { version = "2.4.1", default-features = false }
mail-parser = "0.9.4"
mail-send = "0.4.9"
rustls = { version = "0.23", default-features = false, features = ["std", "ring"] }
rustls-connector = { version = "0.21.4", default-features = false, features = ["native-certs", "rustls--ring"] }
rustls = { version = "0.23", default-features = false, features = [
"std",
"ring",
] }
rustls-connector = { version = "0.21.4", default-features = false, features = [
"native-certs",
"rustls--ring",
] }
tokio = { version = "1.40.0", features = ["net", "io-util", "time", "macros"] }
[patch.crates-io]
# zip version 2.2.0 without bzip2 by default
# bzip2 limits portability and cross-compilation
zip = { git = "https://github.com/alwinber/zip2.git" }