mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 19:29:53 +03:00
95 lines
2.3 KiB
Diff
95 lines
2.3 KiB
Diff
Build against system-provided zlib library.
|
|
|
|
--- a/duckscript_sdk/Cargo.toml
|
|
+++ b/duckscript_sdk/Cargo.toml
|
|
@@ -24,7 +24,7 @@
|
|
|
|
[dependencies]
|
|
attohttpc = { version = "^0.28", default-features = false, features = [
|
|
- "compress",
|
|
+ "compress-zlib",
|
|
] }
|
|
base64 = "^0.22"
|
|
cfg-if = "^1"
|
|
@@ -49,7 +49,7 @@
|
|
whoami = "^1"
|
|
zip = { version = "^2", default-features = false, features = [
|
|
"bzip2",
|
|
- "deflate",
|
|
+ "deflate-zlib",
|
|
"time",
|
|
] }
|
|
|
|
--- a/Cargo.lock
|
|
+++ b/Cargo.lock
|
|
@@ -380,6 +380,7 @@
|
|
checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0"
|
|
dependencies = [
|
|
"crc32fast",
|
|
+ "libz-sys",
|
|
"miniz_oxide",
|
|
]
|
|
|
|
@@ -653,18 +654,23 @@
|
|
checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
|
|
|
|
[[package]]
|
|
+name = "libz-sys"
|
|
+version = "1.1.20"
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
+checksum = "d2d16453e800a8cf6dd2fc3eb4bc99b786a9b90c663b8559a5b1a041bf89e472"
|
|
+dependencies = [
|
|
+ "cc",
|
|
+ "pkg-config",
|
|
+ "vcpkg",
|
|
+]
|
|
+
|
|
+[[package]]
|
|
name = "linux-raw-sys"
|
|
version = "0.4.14"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
|
|
|
|
[[package]]
|
|
-name = "lockfree-object-pool"
|
|
-version = "0.1.6"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
|
|
-
|
|
-[[package]]
|
|
name = "log"
|
|
version = "0.4.22"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
@@ -1064,12 +1070,6 @@
|
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
|
|
[[package]]
|
|
-name = "simd-adler32"
|
|
-version = "0.3.7"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
|
|
-
|
|
-[[package]]
|
|
name = "spin"
|
|
version = "0.9.8"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
@@ -1571,19 +1571,4 @@
|
|
"memchr",
|
|
"thiserror",
|
|
"time",
|
|
- "zopfli",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "zopfli"
|
|
-version = "0.8.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
|
|
-dependencies = [
|
|
- "bumpalo",
|
|
- "crc32fast",
|
|
- "lockfree-object-pool",
|
|
- "log",
|
|
- "once_cell",
|
|
- "simd-adler32",
|
|
]
|