ksud: bump zip dependency to 1.x

This commit is contained in:
weishu
2024-05-02 12:04:28 +08:00
parent 66ae50eb49
commit d623b9fe09
2 changed files with 76 additions and 7 deletions

View File

@@ -10,7 +10,13 @@ rust-version = "1.77.2"
anyhow = "1"
clap = { version = "4", features = ["derive"] }
const_format = "0.2"
zip = "0.6"
zip = { version = "1.1", features = [
"deflate",
"deflate64",
"bzip2",
"time",
"zstd",
], default-features = false }
zip-extensions = "0.6"
java-properties = "2"
log = "0.4"
@@ -40,7 +46,9 @@ chrono = "0.4"
hole-punch = { git = "https://github.com/tiann/hole-punch" }
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
rustix = { git = "https://github.com/Kernel-SU/rustix.git", branch = "main", features = ["all-apis"] }
rustix = { git = "https://github.com/Kernel-SU/rustix.git", branch = "main", features = [
"all-apis",
] }
# some android specific dependencies which compiles under unix are also listed here for convenience of coding
android-properties = { version = "0.2", features = ["bionic-deprecated"] }
procfs = "0.16"
@@ -52,4 +60,4 @@ android_logger = "0.13"
[profile.release]
strip = true
opt-level = "z"
lto = true
lto = true