aports/testing/felix/use-system-libs.patch
2023-08-28 12:11:31 +00:00

71 lines
1.8 KiB
Diff

diff --git a/Cargo.lock b/Cargo.lock
index 338324d..f5e3945 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -152,6 +152,15 @@ dependencies = [
"inout",
]
+[[package]]
+name = "cmake"
+version = "0.1.50"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a31c789563b815f77f4250caee12365734369f942439b7defd71e18a48197130"
+dependencies = [
+ "cc",
+]
+
[[package]]
name = "constant_time_eq"
version = "0.1.5"
@@ -331,7 +340,7 @@
[[package]]
name = "felix"
-version = "2.8.0"
+version = "2.8.1"
dependencies = [
"bwrap",
"chrono",
@@ -366,6 +375,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743"
dependencies = [
"crc32fast",
+ "libz-ng-sys",
"miniz_oxide",
]
@@ -492,6 +502,16 @@ version = "0.2.146"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b"
+[[package]]
+name = "libz-ng-sys"
+version = "1.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3dd9f43e75536a46ee0f92b758f6b63846e594e86638c61a9251338a65baea63"
+dependencies = [
+ "cmake",
+ "libc",
+]
+
[[package]]
name = "line-wrap"
version = "0.1.1"
diff --git a/Cargo.toml b/Cargo.toml
index c8d4542..f1fc1f1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -31,9 +31,9 @@ syntect = {version = "5.0.0", git = "https://github.com/kyoheiu/syntect"}
serde_yaml = "0.9.25"
zip = "0.6.6"
tar = "0.4.39"
-flate2 = "1.0.26"
+flate2 = {version = "1.0.26", default-features = false, features = ["zlib-ng"]}
lzma-rs = "0.3.0"
-zstd = "0.12.4"
+zstd = {version = "0.12.4", default-features = false, features = ["pkg-config"]}
unicode-width = "0.1.10"
[dev-dependencies]