ksud: upgrade zip (#1859)

This commit is contained in:
LoveSy
2024-07-06 14:34:25 +08:00
committed by GitHub
parent 56c3954524
commit f80a946b0d
2 changed files with 31 additions and 4 deletions

View File

@@ -377,6 +377,21 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "crc"
version = "3.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636"
dependencies = [
"crc-catalog",
]
[[package]]
name = "crc-catalog"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
[[package]] [[package]]
name = "crc32fast" name = "crc32fast"
version = "1.4.2" version = "1.4.2"
@@ -944,6 +959,16 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "lzma-rs"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e"
dependencies = [
"byteorder",
"crc",
]
[[package]] [[package]]
name = "memchr" name = "memchr"
version = "2.7.2" version = "2.7.2"
@@ -1761,8 +1786,7 @@ dependencies = [
[[package]] [[package]]
name = "zip" name = "zip"
version = "2.1.3" version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/zip-rs/zip2.git#d45bdccc6afbf5121b3a4668b67dfebbaa328cd8"
checksum = "775a2b471036342aa69bc5a602bc889cb0a06cda00477d0c69566757d5553d39"
dependencies = [ dependencies = [
"arbitrary", "arbitrary",
"bzip2", "bzip2",
@@ -1772,6 +1796,7 @@ dependencies = [
"displaydoc", "displaydoc",
"flate2", "flate2",
"indexmap", "indexmap",
"lzma-rs",
"memchr", "memchr",
"thiserror", "thiserror",
"time", "time",

View File

@@ -10,12 +10,14 @@ rust-version = "1.77.2"
anyhow = "1" anyhow = "1"
clap = { version = "4", features = ["derive"] } clap = { version = "4", features = ["derive"] }
const_format = "0.2" const_format = "0.2"
zip = { version = "2", features = [ zip = { git = "https://github.com/zip-rs/zip2.git", features = [
"deflate", "deflate",
"deflate64", "deflate64",
"bzip2", "bzip2",
"time", "time",
"zstd", "zstd",
"lzma",
"xz",
], default-features = false } ], default-features = false }
zip-extensions = "0.7" zip-extensions = "0.7"
java-properties = "2" java-properties = "2"