mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
263 lines
6.7 KiB
Diff
263 lines
6.7 KiB
Diff
Patch-Source: https://github.com/sagiegurari/duckscript/pull/325
|
|
--
|
|
From 4ef0be95f87fbf767481fe5a2d4e014a7a2f9c44 Mon Sep 17 00:00:00 2001
|
|
From: Jakub Jirutka <jakub@jirutka.cz>
|
|
Date: Sat, 29 Apr 2023 17:17:54 +0200
|
|
Subject: [PATCH] Remove unnecessary/unused 'zip' features
|
|
|
|
Reduce dependency bloat.
|
|
---
|
|
Cargo.lock | 137 --------------------------------------
|
|
duckscript_sdk/Cargo.toml | 2 +-
|
|
2 files changed, 1 insertion(+), 138 deletions(-)
|
|
|
|
diff --git a/Cargo.lock b/Cargo.lock
|
|
index 65e942a..88550e2 100644
|
|
--- a/Cargo.lock
|
|
+++ b/Cargo.lock
|
|
@@ -8,18 +8,6 @@ version = "1.0.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
|
|
|
-[[package]]
|
|
-name = "aes"
|
|
-version = "0.7.5"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8"
|
|
-dependencies = [
|
|
- "cfg-if",
|
|
- "cipher",
|
|
- "cpufeatures",
|
|
- "opaque-debug",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "aho-corasick"
|
|
version = "0.7.20"
|
|
@@ -86,12 +74,6 @@ version = "0.21.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a"
|
|
|
|
-[[package]]
|
|
-name = "base64ct"
|
|
-version = "1.6.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
|
|
-
|
|
[[package]]
|
|
name = "bitflags"
|
|
version = "1.3.2"
|
|
@@ -161,9 +143,6 @@ name = "cc"
|
|
version = "1.0.79"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
|
|
-dependencies = [
|
|
- "jobserver",
|
|
-]
|
|
|
|
[[package]]
|
|
name = "cfg-if"
|
|
@@ -186,15 +165,6 @@ dependencies = [
|
|
"winapi",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "cipher"
|
|
-version = "0.3.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7"
|
|
-dependencies = [
|
|
- "generic-array",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "codespan-reporting"
|
|
version = "0.11.1"
|
|
@@ -216,12 +186,6 @@ dependencies = [
|
|
"winapi",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "constant_time_eq"
|
|
-version = "0.1.5"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
|
|
-
|
|
[[package]]
|
|
name = "core-foundation"
|
|
version = "0.9.3"
|
|
@@ -327,7 +291,6 @@ checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f"
|
|
dependencies = [
|
|
"block-buffer",
|
|
"crypto-common",
|
|
- "subtle",
|
|
]
|
|
|
|
[[package]]
|
|
@@ -613,15 +576,6 @@ version = "0.3.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286"
|
|
|
|
-[[package]]
|
|
-name = "hmac"
|
|
-version = "0.12.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
|
|
-dependencies = [
|
|
- "digest",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "home"
|
|
version = "0.5.4"
|
|
@@ -730,15 +684,6 @@ dependencies = [
|
|
"regex",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "jobserver"
|
|
-version = "0.1.26"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2"
|
|
-dependencies = [
|
|
- "libc",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "js-sys"
|
|
version = "0.3.61"
|
|
@@ -875,12 +820,6 @@ version = "1.17.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
|
|
|
|
-[[package]]
|
|
-name = "opaque-debug"
|
|
-version = "0.3.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
|
|
-
|
|
[[package]]
|
|
name = "openssl"
|
|
version = "0.10.51"
|
|
@@ -925,29 +864,6 @@ dependencies = [
|
|
"vcpkg",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "password-hash"
|
|
-version = "0.4.2"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700"
|
|
-dependencies = [
|
|
- "base64ct",
|
|
- "rand_core",
|
|
- "subtle",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "pbkdf2"
|
|
-version = "0.11.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917"
|
|
-dependencies = [
|
|
- "digest",
|
|
- "hmac",
|
|
- "password-hash",
|
|
- "sha2",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "percent-encoding"
|
|
version = "2.2.0"
|
|
@@ -1177,17 +1093,6 @@ dependencies = [
|
|
"serde",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "sha1"
|
|
-version = "0.10.5"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3"
|
|
-dependencies = [
|
|
- "cfg-if",
|
|
- "cpufeatures",
|
|
- "digest",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "sha2"
|
|
version = "0.10.6"
|
|
@@ -1205,12 +1110,6 @@ version = "0.5.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
|
|
|
|
-[[package]]
|
|
-name = "subtle"
|
|
-version = "2.4.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
|
|
-
|
|
[[package]]
|
|
name = "suppaftp"
|
|
version = "5.1.1"
|
|
@@ -1729,46 +1628,10 @@ version = "0.6.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0445d0fbc924bb93539b4316c11afb121ea39296f99a3c4c9edad09e3658cdef"
|
|
dependencies = [
|
|
- "aes",
|
|
"byteorder",
|
|
"bzip2",
|
|
- "constant_time_eq",
|
|
"crc32fast",
|
|
"crossbeam-utils",
|
|
"flate2",
|
|
- "hmac",
|
|
- "pbkdf2",
|
|
- "sha1",
|
|
"time 0.3.20",
|
|
- "zstd",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "zstd"
|
|
-version = "0.11.2+zstd.1.5.2"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
|
|
-dependencies = [
|
|
- "zstd-safe",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "zstd-safe"
|
|
-version = "5.0.2+zstd.1.5.2"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
|
|
-dependencies = [
|
|
- "libc",
|
|
- "zstd-sys",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "zstd-sys"
|
|
-version = "2.0.8+zstd.1.5.5"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c"
|
|
-dependencies = [
|
|
- "cc",
|
|
- "libc",
|
|
- "pkg-config",
|
|
]
|
|
diff --git a/duckscript_sdk/Cargo.toml b/duckscript_sdk/Cargo.toml
|
|
index 5456e94..222a561 100644
|
|
--- a/duckscript_sdk/Cargo.toml
|
|
+++ b/duckscript_sdk/Cargo.toml
|
|
@@ -47,7 +47,7 @@ suppaftp = "^5.1"
|
|
walkdir = "^2"
|
|
which = { version = "^4", default-features = false }
|
|
whoami = "^1"
|
|
-zip = "^0.6"
|
|
+zip = { version = "^0.6", default-features = false, features = ["bzip2", "deflate", "time"] }
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
uname = "^0.1"
|