Patch zip to ensure it builds on mips

This commit is contained in:
Sven-Hendrik Haase 2022-03-31 02:21:11 +02:00
parent 193e68221a
commit d37bdd0fcd
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915
2 changed files with 5 additions and 2 deletions

4
Cargo.lock generated
View File

@ -2922,11 +2922,11 @@ checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
[[package]]
name = "zip"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6fa4aa90e99fb8d701bda16fb040d8ed2f9c7176fb44de750e880a74b580315"
source = "git+https://github.com/zip-rs/zip?branch=master#d00ad632a1f21fdc747e30e25c3eebc047dfd958"
dependencies = [
"byteorder",
"crc32fast",
"crossbeam-utils",
]
[[package]]

View File

@ -56,6 +56,9 @@ rustls-pemfile = { version = "0.3", optional = true }
socket2 = "0.4"
get_if_addrs = "0.5"
[patch.crates-io]
zip = { git="https://github.com/zip-rs/zip", branch="master" }
[features]
default = ["tls"]
# This feature allows us to use rustls only on architectures supported by ring.