Use lzma-rust2 for xz and lzma compression and decompression

This commit is contained in:
LoveSy
2025-08-24 00:23:55 -07:00
committed by John Wu
parent 9787a69528
commit 78f5cd55c7
10 changed files with 103 additions and 535 deletions
+1 -2
View File
@@ -31,7 +31,7 @@ flate2 = { version = "1.1.2", default-features = false }
bzip2 = { version = "0.6.0" }
zopfli = "0.8.2"
lz4 = "1.28.1"
xz2 = "0.1.7"
lzma-rust2 = { version = "0.10", default-features = false, features = ["xz", "std", "encoder", "optimization"]}
# Rust crypto crates are tied together
sha1 = "0.11.0-rc.0"
@@ -48,7 +48,6 @@ der = "0.8.0-rc.7"
pb-rs = { git = "https://github.com/tafia/quick-protobuf.git" }
quick-protobuf = { git = "https://github.com/tafia/quick-protobuf.git" }
lz4-sys = { path = "external/lz4-sys" }
lzma-sys = { path = "external/lzma-sys" }
[profile.dev]
opt-level = "z"