mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 02:05:16 +03:00
574 lines
14 KiB
Diff
574 lines
14 KiB
Diff
diff --git a/Cargo.lock b/Cargo.lock
|
|
index b0d4f5e..b2d990e 100644
|
|
--- a/Cargo.lock
|
|
+++ b/Cargo.lock
|
|
@@ -41,71 +41,6 @@ version = "1.0.64"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b9a8f622bcf6ff3df478e9deba3e03e4e04b300f8e6a139e192c05fa3490afc7"
|
|
|
|
-[[package]]
|
|
-name = "async-broadcast"
|
|
-version = "0.4.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "6d26004fe83b2d1cd3a97609b21e39f9a31535822210fe83205d2ce48866ea61"
|
|
-dependencies = [
|
|
- "event-listener",
|
|
- "futures-core",
|
|
- "parking_lot",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "async-channel"
|
|
-version = "1.7.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "e14485364214912d3b19cc3435dde4df66065127f05fa0d75c712f36f12c2f28"
|
|
-dependencies = [
|
|
- "concurrent-queue",
|
|
- "event-listener",
|
|
- "futures-core",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "async-executor"
|
|
-version = "1.4.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "871f9bb5e0a22eeb7e8cf16641feb87c9dc67032ccf8ff49e772eb9941d3a965"
|
|
-dependencies = [
|
|
- "async-task",
|
|
- "concurrent-queue",
|
|
- "fastrand",
|
|
- "futures-lite",
|
|
- "once_cell",
|
|
- "slab",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "async-io"
|
|
-version = "1.9.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "83e21f3a490c72b3b0cf44962180e60045de2925d8dff97918f7ee43c8f637c7"
|
|
-dependencies = [
|
|
- "autocfg",
|
|
- "concurrent-queue",
|
|
- "futures-lite",
|
|
- "libc",
|
|
- "log",
|
|
- "once_cell",
|
|
- "parking",
|
|
- "polling",
|
|
- "slab",
|
|
- "socket2",
|
|
- "waker-fn",
|
|
- "winapi",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "async-lock"
|
|
-version = "2.5.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "e97a171d191782fba31bb902b14ad94e24a68145032b7eedf871ab0bc0d077b6"
|
|
-dependencies = [
|
|
- "event-listener",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "async-priority-channel"
|
|
version = "0.1.0"
|
|
@@ -115,17 +50,6 @@ dependencies = [
|
|
"event-listener",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "async-recursion"
|
|
-version = "0.3.2"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "d7d78656ba01f1b93024b7c3a0467f1608e4be67d725749fdcd7d2c7678fd7a2"
|
|
-dependencies = [
|
|
- "proc-macro2",
|
|
- "quote",
|
|
- "syn",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "async-recursion"
|
|
version = "1.0.0"
|
|
@@ -158,12 +82,6 @@ dependencies = [
|
|
"syn",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "async-task"
|
|
-version = "4.3.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "7a40729d2133846d9ed0ea60a8b9541bccddab49cd30f0715a1da672fe9a2524"
|
|
-
|
|
[[package]]
|
|
name = "async-trait"
|
|
version = "0.1.57"
|
|
@@ -318,12 +236,6 @@ version = "1.2.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db"
|
|
|
|
-[[package]]
|
|
-name = "cache-padded"
|
|
-version = "1.2.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c"
|
|
-
|
|
[[package]]
|
|
name = "cc"
|
|
version = "1.0.73"
|
|
@@ -374,7 +286,7 @@ version = "2.0.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "41aa24cc5e1d6b3fc49ad4cd540b522fedcbe88bc6f259ff16e20e7010b6f8c7"
|
|
dependencies = [
|
|
- "nix 0.26.2",
|
|
+ "nix",
|
|
"terminfo",
|
|
"thiserror",
|
|
"which",
|
|
@@ -388,20 +300,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "026c3922235f9f7d78f21251a026f3acdeb7cce3deba107fe09a4bfa63d850a2"
|
|
dependencies = [
|
|
"async-trait",
|
|
- "nix 0.26.2",
|
|
+ "nix",
|
|
"tokio",
|
|
"winapi",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "concurrent-queue"
|
|
-version = "1.2.4"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "af4780a44ab5696ea9e28294517f1fffb421a83a25af521333c838635509db9c"
|
|
-dependencies = [
|
|
- "cache-padded",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "console-api"
|
|
version = "0.4.0"
|
|
@@ -481,14 +384,14 @@ dependencies = [
|
|
]
|
|
|
|
[[package]]
|
|
-name = "derivative"
|
|
-version = "2.2.0"
|
|
+name = "dbus"
|
|
+version = "0.9.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
|
|
+checksum = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b"
|
|
dependencies = [
|
|
- "proc-macro2",
|
|
- "quote",
|
|
- "syn",
|
|
+ "libc",
|
|
+ "libdbus-sys",
|
|
+ "winapi",
|
|
]
|
|
|
|
[[package]]
|
|
@@ -561,27 +464,6 @@ dependencies = [
|
|
"winreg",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "enumflags2"
|
|
-version = "0.7.5"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "e75d4cd21b95383444831539909fbb14b9dc3fdceb2a6f5d36577329a1f55ccb"
|
|
-dependencies = [
|
|
- "enumflags2_derive",
|
|
- "serde",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "enumflags2_derive"
|
|
-version = "0.7.4"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "f58dc3c5e468259f19f2d46304a6b28f1c3d034442e14b322d2b850e36f6d5ae"
|
|
-dependencies = [
|
|
- "proc-macro2",
|
|
- "quote",
|
|
- "syn",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "event-listener"
|
|
version = "2.5.3"
|
|
@@ -682,21 +564,6 @@ version = "0.3.25"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb"
|
|
|
|
-[[package]]
|
|
-name = "futures-lite"
|
|
-version = "1.12.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48"
|
|
-dependencies = [
|
|
- "fastrand",
|
|
- "futures-core",
|
|
- "futures-io",
|
|
- "memchr",
|
|
- "parking",
|
|
- "pin-project-lite",
|
|
- "waker-fn",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "futures-macro"
|
|
version = "0.3.25"
|
|
@@ -1235,6 +1102,15 @@ version = "0.2.139"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
|
|
|
|
+[[package]]
|
|
+name = "libdbus-sys"
|
|
+version = "0.2.4"
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
+checksum = "9f8d7ae751e1cb825c840ae5e682f59b098cdfd213c350ac268b61449a5f58a0"
|
|
+dependencies = [
|
|
+ "pkg-config",
|
|
+]
|
|
+
|
|
[[package]]
|
|
name = "libmimalloc-sys"
|
|
version = "0.1.25"
|
|
@@ -1315,15 +1191,6 @@ dependencies = [
|
|
"libc",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "memoffset"
|
|
-version = "0.6.5"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
|
|
-dependencies = [
|
|
- "autocfg",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "memoffset"
|
|
version = "0.7.1"
|
|
@@ -1406,19 +1273,6 @@ dependencies = [
|
|
"windows-sys 0.36.1",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "nix"
|
|
-version = "0.23.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6"
|
|
-dependencies = [
|
|
- "bitflags",
|
|
- "cc",
|
|
- "cfg-if 1.0.0",
|
|
- "libc",
|
|
- "memoffset 0.6.5",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "nix"
|
|
version = "0.26.2"
|
|
@@ -1428,7 +1282,7 @@ dependencies = [
|
|
"bitflags",
|
|
"cfg-if 1.0.0",
|
|
"libc",
|
|
- "memoffset 0.7.1",
|
|
+ "memoffset",
|
|
"pin-utils",
|
|
"static_assertions",
|
|
]
|
|
@@ -1483,12 +1337,9 @@ version = "4.5.8"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a995a3d2834cefa389218e7a35156e8ce544bc95f836900da01ee0b26a07e9d4"
|
|
dependencies = [
|
|
+ "dbus",
|
|
"mac-notification-sys",
|
|
- "serde",
|
|
"winrt-notification",
|
|
- "zbus",
|
|
- "zvariant",
|
|
- "zvariant_derive",
|
|
]
|
|
|
|
[[package]]
|
|
@@ -1563,16 +1414,6 @@ version = "1.14.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "2f7254b99e31cad77da24b08ebf628882739a608578bb1bcdfc1f9c21260d7c0"
|
|
|
|
-[[package]]
|
|
-name = "ordered-stream"
|
|
-version = "0.0.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "44630c059eacfd6e08bdaa51b1db2ce33119caa4ddc1235e923109aa5f25ccb1"
|
|
-dependencies = [
|
|
- "futures-core",
|
|
- "pin-project-lite",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "os_str_bytes"
|
|
version = "6.3.0"
|
|
@@ -1585,22 +1426,6 @@ version = "3.5.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"
|
|
|
|
-[[package]]
|
|
-name = "parking"
|
|
-version = "2.0.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
|
|
-
|
|
-[[package]]
|
|
-name = "parking_lot"
|
|
-version = "0.12.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
|
-dependencies = [
|
|
- "lock_api",
|
|
- "parking_lot_core",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "parking_lot_core"
|
|
version = "0.9.3"
|
|
@@ -1691,18 +1516,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
[[package]]
|
|
-name = "polling"
|
|
-version = "2.3.0"
|
|
+name = "pkg-config"
|
|
+version = "0.3.26"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "899b00b9c8ab553c743b3e11e87c5c7d423b2a2de229ba95b24a756344748011"
|
|
-dependencies = [
|
|
- "autocfg",
|
|
- "cfg-if 1.0.0",
|
|
- "libc",
|
|
- "log",
|
|
- "wepoll-ffi",
|
|
- "winapi",
|
|
-]
|
|
+checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
|
|
|
|
[[package]]
|
|
name = "ppv-lite86"
|
|
@@ -1710,17 +1527,6 @@ version = "0.2.16"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
|
|
|
|
-[[package]]
|
|
-name = "proc-macro-crate"
|
|
-version = "1.2.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9"
|
|
-dependencies = [
|
|
- "once_cell",
|
|
- "thiserror",
|
|
- "toml",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "proc-macro2"
|
|
version = "1.0.43"
|
|
@@ -1998,26 +1804,6 @@ dependencies = [
|
|
"serde",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "serde_repr"
|
|
-version = "0.1.9"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "1fe39d9fbb0ebf5eb2c7cb7e2a47e4f462fad1379f1166b8ae49ad9eae89a7ca"
|
|
-dependencies = [
|
|
- "proc-macro2",
|
|
- "quote",
|
|
- "syn",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "sha1"
|
|
-version = "0.6.1"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "c1da05c97445caa12d05e848c4a4fcbbea29e748ac28f7e80e9b010392063770"
|
|
-dependencies = [
|
|
- "sha1_smol",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "sha1_smol"
|
|
version = "1.0.0"
|
|
@@ -2522,16 +2308,6 @@ version = "0.2.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
|
|
|
|
-[[package]]
|
|
-name = "uds_windows"
|
|
-version = "1.0.2"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "ce65604324d3cce9b966701489fbd0cf318cb1f7bd9dd07ac9a4ee6fb791930d"
|
|
-dependencies = [
|
|
- "tempfile",
|
|
- "winapi",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "unicase"
|
|
version = "2.6.0"
|
|
@@ -2606,12 +2382,6 @@ dependencies = [
|
|
"libc",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "waker-fn"
|
|
-version = "1.1.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca"
|
|
-
|
|
[[package]]
|
|
name = "walkdir"
|
|
version = "2.3.2"
|
|
@@ -2650,14 +2420,14 @@ name = "watchexec"
|
|
version = "2.1.1"
|
|
dependencies = [
|
|
"async-priority-channel",
|
|
- "async-recursion 1.0.0",
|
|
+ "async-recursion",
|
|
"atomic-take",
|
|
"clearscreen",
|
|
"command-group",
|
|
"futures",
|
|
"ignore-files",
|
|
"miette",
|
|
- "nix 0.26.2",
|
|
+ "nix",
|
|
"normalize-path",
|
|
"notify",
|
|
"once_cell",
|
|
@@ -2738,15 +2508,6 @@ dependencies = [
|
|
"watchexec-filterer-ignore",
|
|
]
|
|
|
|
-[[package]]
|
|
-name = "wepoll-ffi"
|
|
-version = "0.1.2"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb"
|
|
-dependencies = [
|
|
- "cc",
|
|
-]
|
|
-
|
|
[[package]]
|
|
name = "which"
|
|
version = "4.3.0"
|
|
@@ -3007,93 +2768,3 @@ name = "xml-rs"
|
|
version = "0.8.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d2d7d3948613f75c98fd9328cfdcc45acc4d360655289d0a7d4ec931392200a3"
|
|
-
|
|
-[[package]]
|
|
-name = "zbus"
|
|
-version = "2.3.2"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "2d8f1a037b2c4a67d9654dc7bdfa8ff2e80555bbefdd3c1833c1d1b27c963a6b"
|
|
-dependencies = [
|
|
- "async-broadcast",
|
|
- "async-channel",
|
|
- "async-executor",
|
|
- "async-io",
|
|
- "async-lock",
|
|
- "async-recursion 0.3.2",
|
|
- "async-task",
|
|
- "async-trait",
|
|
- "byteorder",
|
|
- "derivative",
|
|
- "dirs 4.0.0",
|
|
- "enumflags2",
|
|
- "event-listener",
|
|
- "futures-core",
|
|
- "futures-sink",
|
|
- "futures-util",
|
|
- "hex",
|
|
- "lazy_static",
|
|
- "nix 0.23.1",
|
|
- "once_cell",
|
|
- "ordered-stream",
|
|
- "rand 0.8.5",
|
|
- "serde",
|
|
- "serde_repr",
|
|
- "sha1",
|
|
- "static_assertions",
|
|
- "tracing",
|
|
- "uds_windows",
|
|
- "winapi",
|
|
- "zbus_macros",
|
|
- "zbus_names",
|
|
- "zvariant",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "zbus_macros"
|
|
-version = "2.3.2"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "1f8fb5186d1c87ae88cf234974c240671238b4a679158ad3b94ec465237349a6"
|
|
-dependencies = [
|
|
- "proc-macro-crate",
|
|
- "proc-macro2",
|
|
- "quote",
|
|
- "regex",
|
|
- "syn",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "zbus_names"
|
|
-version = "2.2.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "41a408fd8a352695690f53906dc7fd036be924ec51ea5e05666ff42685ed0af5"
|
|
-dependencies = [
|
|
- "serde",
|
|
- "static_assertions",
|
|
- "zvariant",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "zvariant"
|
|
-version = "3.6.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "1bd68e4e6432ef19df47d7e90e2e72b5e7e3d778e0ae3baddf12b951265cc758"
|
|
-dependencies = [
|
|
- "byteorder",
|
|
- "enumflags2",
|
|
- "libc",
|
|
- "serde",
|
|
- "static_assertions",
|
|
- "zvariant_derive",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
-name = "zvariant_derive"
|
|
-version = "3.6.0"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "08e977eaa3af652f63d479ce50d924254ad76722a6289ec1a1eac3231ca30430"
|
|
-dependencies = [
|
|
- "proc-macro-crate",
|
|
- "proc-macro2",
|
|
- "quote",
|
|
- "syn",
|
|
-]
|
|
diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml
|
|
index 6c5874a..93369df 100644
|
|
--- a/crates/cli/Cargo.toml
|
|
+++ b/crates/cli/Cargo.toml
|
|
@@ -24,7 +24,7 @@ console-subscriber = { version = "0.1.0", optional = true }
|
|
dirs = "4.0.0"
|
|
futures = "0.3.17"
|
|
miette = { version = "5.3.0", features = ["fancy"] }
|
|
-notify-rust = "4.5.2"
|
|
+notify-rust = { version = "4.5.2", default-features = false, features = ["d"] }
|
|
tracing = "0.1.26"
|
|
|
|
[dependencies.clap]
|