aports/testing/felix/use-system-libs.patch
2024-10-19 22:27:26 +00:00

61 lines
1.5 KiB
Diff

diff --git a/Cargo.lock b/Cargo.lock
index 6e69105..d04c316 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -151,6 +151,15 @@ dependencies = [
"inout",
]
+[[package]]
+name = "cmake"
+version = "0.1.51"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fb1e43aa7fd152b1f968787f7dbcdeb306d1867ff373c69955211876c053f91a"
+dependencies = [
+ "cc",
+]
+
[[package]]
name = "constant_time_eq"
version = "0.3.1"
@@ -409,6 +418,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0"
dependencies = [
"crc32fast",
+ "libz-ng-sys",
"miniz_oxide",
]
@@ -581,6 +591,16 @@ dependencies = [
"redox_syscall",
]
+[[package]]
+name = "libz-ng-sys"
+version = "1.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4436751a01da56f1277f323c80d584ffad94a3d14aecd959dd0dff75aa73a438"
+dependencies = [
+ "cmake",
+ "libc",
+]
+
[[package]]
name = "libz-sys"
version = "1.1.20"
diff --git a/Cargo.toml b/Cargo.toml
index 5a6ee7d..224b4a9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,9 +30,9 @@ crossterm = "0.28.1"
serde_yaml = "0.9.34"
zip = "2.2.0"
tar = "0.4.42"
-flate2 = "1.0.34"
+flate2 = {version = "1.0.34", default-features = false, features = ["zlib-ng"]}
lzma-rs = "0.3.0"
-zstd = "0.13.2"
+zstd = {version = "0.13.2", default-features = false, features = ["pkg-config"]}
unicode-width = "0.2.0"
git2 = {version = "0.19.0", default-features = false }
normpath = "1.3.0"