projects/aports·blob master · refs

61 lines · 1.5 KiB

1diff --git a/Cargo.lock b/Cargo.lock
2index 6e69105..d04c316 100644
3--- a/Cargo.lock
4+++ b/Cargo.lock
5@@ -151,6 +151,15 @@ dependencies = [
6 "inout",
7 ]
8
9+[[package]]
10+name = "cmake"
11+version = "0.1.51"
12+source = "registry+https://github.com/rust-lang/crates.io-index"
13+checksum = "fb1e43aa7fd152b1f968787f7dbcdeb306d1867ff373c69955211876c053f91a"
14+dependencies = [
15+ "cc",
16+]
17+
18 [[package]]
19 name = "constant_time_eq"
20 version = "0.3.1"
21@@ -409,6 +418,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
22 checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0"
23 dependencies = [
24 "crc32fast",
25+ "libz-ng-sys",
26 "miniz_oxide",
27 ]
28
29@@ -581,6 +591,16 @@ dependencies = [
30 "redox_syscall",
31 ]
32
33+[[package]]
34+name = "libz-ng-sys"
35+version = "1.1.16"
36+source = "registry+https://github.com/rust-lang/crates.io-index"
37+checksum = "4436751a01da56f1277f323c80d584ffad94a3d14aecd959dd0dff75aa73a438"
38+dependencies = [
39+ "cmake",
40+ "libc",
41+]
42+
43 [[package]]
44 name = "libz-sys"
45 version = "1.1.20"
46diff --git a/Cargo.toml b/Cargo.toml
47index 5a6ee7d..224b4a9 100644
48--- a/Cargo.toml
49+++ b/Cargo.toml
50@@ -30,9 +30,9 @@ crossterm = "0.28.1"
51 serde_yaml = "0.9.34"
52 zip = "2.2.0"
53 tar = "0.4.42"
54-flate2 = "1.0.34"
55+flate2 = {version = "1.0.34", default-features = false, features = ["zlib-ng"]}
56 lzma-rs = "0.3.0"
57-zstd = "0.13.2"
58+zstd = {version = "0.13.2", default-features = false, features = ["pkg-config"]}
59 unicode-width = "0.2.0"
60 git2 = {version = "0.19.0", default-features = false }
61 normpath = "1.3.0"