Simple tool for automatic file management

Compare changes

Choose any two refs to compare.

+1 -1
.build.yml
···
#
# SPDX-License-Identifier: EUPL-1.2
-
image: nixos/23.05
+
image: nixos/24.05
environment:
NIX_CONFIG: "experimental-features = nix-command flakes"
tasks:
-14
.reuse/dep5
···
-
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-
Upstream-Name: PTSD
-
Upstream-Contact: Łukasz Niemier <#@hauleth.dev>
-
Source: https://git.sr.ht/~hauleth/ptsd
-
-
Files: *.lock
-
Copyright: 2024 Łukasz Niemier <#@hauleth.dev>
-
License: EUPL-1.2
-
-
# Sample paragraph, commented out:
-
#
-
# Files: src/*
-
# Copyright: $YEAR $NAME <$CONTACT>
-
# License: ...
+414 -428
Cargo.lock
···
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-
version = 3
+
version = 4
[[package]]
name = "addr2line"
-
version = "0.21.0"
+
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
+
checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
dependencies = [
"gimli",
]
[[package]]
-
name = "adler"
-
version = "1.0.2"
+
name = "adler2"
+
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+
checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
[[package]]
name = "aho-corasick"
-
version = "1.1.2"
+
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
+
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
dependencies = [
"memchr",
]
···
[[package]]
name = "anstream"
-
version = "0.6.13"
+
version = "0.6.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb"
+
checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933"
dependencies = [
"anstyle",
"anstyle-parse",
"anstyle-query",
"anstyle-wincon",
"colorchoice",
+
"is_terminal_polyfill",
"utf8parse",
]
[[package]]
name = "anstyle"
-
version = "1.0.6"
+
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc"
+
checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd"
[[package]]
name = "anstyle-parse"
-
version = "0.2.3"
+
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c"
+
checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
dependencies = [
"utf8parse",
]
[[package]]
name = "anstyle-query"
-
version = "1.0.2"
+
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648"
+
checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9"
dependencies = [
-
"windows-sys 0.52.0",
+
"windows-sys 0.59.0",
]
[[package]]
name = "anstyle-wincon"
-
version = "3.0.2"
+
version = "3.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"
+
checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882"
dependencies = [
"anstyle",
-
"windows-sys 0.52.0",
+
"once_cell_polyfill",
+
"windows-sys 0.59.0",
]
[[package]]
name = "async-stream"
-
version = "0.3.5"
+
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51"
+
checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476"
dependencies = [
"async-stream-impl",
"futures-core",
···
[[package]]
name = "async-stream-impl"
-
version = "0.3.5"
+
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
+
checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
dependencies = [
"proc-macro2",
"quote",
···
[[package]]
name = "async-trait"
-
version = "0.1.77"
+
version = "0.1.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9"
+
checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5"
dependencies = [
"proc-macro2",
"quote",
···
[[package]]
name = "autocfg"
-
version = "1.1.0"
+
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
[[package]]
name = "backtrace"
-
version = "0.3.69"
+
version = "0.3.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"
+
checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002"
dependencies = [
"addr2line",
-
"cc",
"cfg-if",
"libc",
"miniz_oxide",
"object",
"rustc-demangle",
+
"windows-targets",
]
[[package]]
name = "bitflags"
-
version = "1.3.2"
+
version = "2.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
[[package]]
-
name = "bitflags"
-
version = "2.4.2"
+
name = "block2"
+
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
+
checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f"
+
dependencies = [
+
"objc2",
+
]
[[package]]
name = "bumpalo"
-
version = "3.15.3"
+
version = "3.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b"
+
checksum = "793db76d6187cd04dff33004d8e6c9cc4e05cd330500379d2394209271b4aeee"
[[package]]
name = "byteorder"
···
[[package]]
name = "bytes"
-
version = "1.5.0"
+
version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223"
+
checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
[[package]]
name = "cc"
-
version = "1.0.89"
+
version = "1.2.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a0ba8f7aaa012f30d5b2861462f6708eccd49c3c39863fe083a308035f63d723"
+
checksum = "956a5e21988b87f372569b66183b78babf23ebc2e744b733e4350a752c4dafac"
+
dependencies = [
+
"shlex",
+
]
[[package]]
name = "cfb"
···
[[package]]
name = "cfg-if"
-
version = "1.0.0"
+
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
[[package]]
name = "chrono"
-
version = "0.4.34"
+
version = "0.4.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b"
+
checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
dependencies = [
"android-tzdata",
"iana-time-zone",
"num-traits",
-
"windows-targets 0.52.4",
+
"windows-link",
]
[[package]]
name = "clap"
-
version = "4.5.1"
+
version = "4.5.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da"
+
checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f"
dependencies = [
"clap_builder",
"clap_derive",
···
[[package]]
name = "clap_builder"
-
version = "4.5.1"
+
version = "4.5.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb"
+
checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e"
dependencies = [
"anstream",
"anstyle",
···
[[package]]
name = "clap_derive"
-
version = "4.5.0"
+
version = "4.5.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47"
+
checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce"
dependencies = [
"heck",
"proc-macro2",
···
[[package]]
name = "clap_lex"
-
version = "0.7.0"
+
version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
+
checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675"
[[package]]
name = "color-eyre"
-
version = "0.6.2"
+
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5a667583cca8c4f8436db8de46ea8233c42a7d9ae424a82d338f2e4675229204"
+
checksum = "e5920befb47832a6d61ee3a3a846565cfa39b331331e68a3b1d1116630f2f26d"
dependencies = [
"backtrace",
"color-spantrace",
···
[[package]]
name = "color-spantrace"
-
version = "0.2.1"
+
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "cd6be1b2a7e382e2b98b43b2adcca6bb0e465af0bdd38123873ae61eb17a72c2"
+
checksum = "b8b88ea9df13354b55bc7234ebcce36e6ef896aca2e42a15de9e10edce01b427"
dependencies = [
"once_cell",
"owo-colors",
···
[[package]]
name = "colorchoice"
-
version = "1.0.0"
+
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
+
checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
[[package]]
name = "core-foundation-sys"
-
version = "0.8.6"
+
version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
+
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "dirs"
-
version = "5.0.1"
+
version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
+
checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e"
dependencies = [
"dirs-sys",
]
[[package]]
name = "dirs-sys"
-
version = "0.4.1"
+
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
+
checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab"
dependencies = [
"libc",
"option-ext",
"redox_users",
-
"windows-sys 0.48.0",
+
"windows-sys 0.59.0",
]
[[package]]
name = "erased-serde"
-
version = "0.4.3"
+
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "388979d208a049ffdfb22fa33b9c81942215b940910bccfe258caeb25d125cb3"
+
checksum = "e004d887f51fcb9fef17317a2f3525c887d8aa3f4f50fed920816a688284a5b7"
dependencies = [
"serde",
+
"typeid",
]
[[package]]
···
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
-
name = "form_urlencoded"
-
version = "1.2.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
-
dependencies = [
-
"percent-encoding",
-
]
-
-
[[package]]
name = "futures"
-
version = "0.3.30"
+
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
+
checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
dependencies = [
"futures-channel",
"futures-core",
···
[[package]]
name = "futures-channel"
-
version = "0.3.30"
+
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
+
checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
dependencies = [
"futures-core",
"futures-sink",
···
[[package]]
name = "futures-core"
-
version = "0.3.30"
+
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
+
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
[[package]]
name = "futures-executor"
-
version = "0.3.30"
+
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
+
checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
dependencies = [
"futures-core",
"futures-task",
···
[[package]]
name = "futures-io"
-
version = "0.3.30"
+
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
+
checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
[[package]]
name = "futures-macro"
-
version = "0.3.30"
+
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
+
checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
dependencies = [
"proc-macro2",
"quote",
···
[[package]]
name = "futures-sink"
-
version = "0.3.30"
+
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
+
checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
[[package]]
name = "futures-task"
-
version = "0.3.30"
+
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
+
checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
[[package]]
name = "futures-util"
-
version = "0.3.30"
+
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
+
checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
dependencies = [
"futures-channel",
"futures-core",
···
[[package]]
name = "getrandom"
-
version = "0.2.12"
+
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
+
checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
dependencies = [
"cfg-if",
"libc",
···
[[package]]
name = "gimli"
-
version = "0.28.1"
+
version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
+
checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
[[package]]
name = "heck"
-
version = "0.4.1"
+
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
-
-
[[package]]
-
name = "hermit-abi"
-
version = "0.3.9"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "iana-time-zone"
-
version = "0.1.60"
+
version = "0.1.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
+
checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8"
dependencies = [
"android_system_properties",
"core-foundation-sys",
"iana-time-zone-haiku",
"js-sys",
+
"log",
"wasm-bindgen",
-
"windows-core",
+
"windows-core 0.61.2",
]
[[package]]
···
]
[[package]]
-
name = "idna"
-
version = "0.5.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
-
dependencies = [
-
"unicode-bidi",
-
"unicode-normalization",
-
]
-
-
[[package]]
name = "indenter"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
···
[[package]]
name = "infer"
-
version = "0.15.0"
+
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "cb33622da908807a06f9513c19b3c1ad50fab3e4137d82a78107d502075aa199"
+
checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7"
dependencies = [
"cfb",
]
[[package]]
name = "inventory"
-
version = "0.3.15"
+
version = "0.3.20"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ab08d7cd2c5897f2c949e5383ea7c7db03fb19130ffcfbf7eda795137ae3cb83"
+
dependencies = [
+
"rustversion",
+
]
+
+
[[package]]
+
name = "is_terminal_polyfill"
+
version = "1.70.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767"
+
checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
[[package]]
name = "itoa"
-
version = "1.0.10"
+
version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
+
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]]
name = "js-sys"
-
version = "0.3.69"
+
version = "0.3.77"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
+
checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
dependencies = [
+
"once_cell",
"wasm-bindgen",
]
[[package]]
name = "lazy_static"
-
version = "1.4.0"
+
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-
version = "0.2.153"
+
version = "0.2.172"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
+
checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
[[package]]
name = "libredox"
-
version = "0.0.1"
+
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8"
+
checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
dependencies = [
-
"bitflags 2.4.2",
+
"bitflags",
"libc",
-
"redox_syscall",
]
[[package]]
name = "lock_api"
-
version = "0.4.11"
+
version = "0.4.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
+
checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765"
dependencies = [
"autocfg",
"scopeguard",
···
[[package]]
name = "log"
-
version = "0.4.21"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
-
-
[[package]]
-
name = "malloc_buf"
-
version = "0.0.6"
+
version = "0.4.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
-
dependencies = [
-
"libc",
-
]
+
checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
[[package]]
name = "memchr"
-
version = "2.7.1"
+
version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
[[package]]
name = "miniz_oxide"
-
version = "0.7.2"
+
version = "0.8.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
+
checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
dependencies = [
-
"adler",
+
"adler2",
]
[[package]]
name = "mio"
-
version = "0.8.11"
+
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
+
checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c"
dependencies = [
"libc",
"wasi",
-
"windows-sys 0.48.0",
+
"windows-sys 0.59.0",
]
[[package]]
name = "num-traits"
-
version = "0.2.18"
+
version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a"
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
dependencies = [
"autocfg",
]
[[package]]
-
name = "num_cpus"
-
version = "1.16.0"
+
name = "objc-sys"
+
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
+
checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310"
+
+
[[package]]
+
name = "objc2"
+
version = "0.5.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804"
dependencies = [
-
"hermit-abi",
-
"libc",
+
"objc-sys",
+
"objc2-encode",
]
[[package]]
-
name = "objc"
-
version = "0.2.7"
+
name = "objc2-encode"
+
version = "4.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33"
+
+
[[package]]
+
name = "objc2-foundation"
+
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1"
+
checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8"
dependencies = [
-
"malloc_buf",
+
"bitflags",
+
"block2",
+
"libc",
+
"objc2",
]
[[package]]
name = "object"
-
version = "0.32.2"
+
version = "0.36.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
+
checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
dependencies = [
"memchr",
]
[[package]]
name = "once_cell"
-
version = "1.19.0"
+
version = "1.21.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
+
+
[[package]]
+
name = "once_cell_polyfill"
+
version = "1.70.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+
checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
[[package]]
name = "option-ext"
···
[[package]]
name = "owo-colors"
-
version = "3.5.0"
+
version = "4.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"
+
checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec"
[[package]]
name = "parking_lot"
-
version = "0.12.1"
+
version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
+
checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13"
dependencies = [
"lock_api",
"parking_lot_core",
···
[[package]]
name = "parking_lot_core"
-
version = "0.9.9"
+
version = "0.9.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
+
checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"
dependencies = [
"cfg-if",
"libc",
"redox_syscall",
"smallvec",
-
"windows-targets 0.48.5",
+
"windows-targets",
]
[[package]]
···
[[package]]
name = "pin-project-lite"
-
version = "0.2.13"
+
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
+
checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
[[package]]
name = "pin-utils"
···
[[package]]
name = "proc-macro2"
-
version = "1.0.78"
+
version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
+
checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
dependencies = [
"unicode-ident",
]
···
[[package]]
name = "quote"
-
version = "1.0.35"
+
version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
+
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
dependencies = [
"proc-macro2",
]
[[package]]
name = "redox_syscall"
-
version = "0.4.1"
+
version = "0.5.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
+
checksum = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af"
dependencies = [
-
"bitflags 1.3.2",
+
"bitflags",
]
[[package]]
name = "redox_users"
-
version = "0.4.4"
+
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4"
+
checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b"
dependencies = [
"getrandom",
"libredox",
···
[[package]]
name = "regex"
-
version = "1.10.3"
+
version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15"
+
checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
dependencies = [
"aho-corasick",
"memchr",
···
[[package]]
name = "regex-automata"
-
version = "0.4.6"
+
version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
+
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
dependencies = [
"aho-corasick",
"memchr",
···
[[package]]
name = "regex-syntax"
-
version = "0.8.2"
+
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
+
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
[[package]]
name = "rustc-demangle"
-
version = "0.1.23"
+
version = "0.1.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
+
checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f"
+
+
[[package]]
+
name = "rustversion"
+
version = "1.0.21"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
[[package]]
name = "ryu"
-
version = "1.0.17"
+
version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
+
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
[[package]]
name = "scopeguard"
···
[[package]]
name = "serde"
-
version = "1.0.197"
+
version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2"
+
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-
version = "1.0.197"
+
version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
+
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
dependencies = [
"proc-macro2",
"quote",
···
[[package]]
name = "serde_json"
-
version = "1.0.114"
+
version = "1.0.140"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0"
+
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
dependencies = [
"itoa",
+
"memchr",
"ryu",
"serde",
]
···
dependencies = [
"lazy_static",
]
+
+
[[package]]
+
name = "shlex"
+
version = "1.3.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "signal-hook-registry"
-
version = "1.4.1"
+
version = "1.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1"
+
checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410"
dependencies = [
"libc",
]
···
[[package]]
name = "smallvec"
-
version = "1.13.1"
+
version = "1.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
+
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
[[package]]
name = "strsim"
-
version = "0.11.0"
+
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01"
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
[[package]]
name = "syn"
-
version = "2.0.52"
+
version = "2.0.102"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07"
+
checksum = "f6397daf94fa90f058bd0fd88429dd9e5738999cca8d701813c80723add80462"
dependencies = [
"proc-macro2",
"quote",
···
[[package]]
name = "thiserror"
-
version = "1.0.57"
+
version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b"
+
checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-
version = "1.0.57"
+
version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81"
+
checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
dependencies = [
"proc-macro2",
"quote",
···
"cfg-if",
"once_cell",
]
-
-
[[package]]
-
name = "tinyvec"
-
version = "1.6.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
-
dependencies = [
-
"tinyvec_macros",
-
]
-
-
[[package]]
-
name = "tinyvec_macros"
-
version = "0.1.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
-
version = "1.36.0"
+
version = "1.45.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931"
+
checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779"
dependencies = [
"backtrace",
"bytes",
"libc",
"mio",
-
"num_cpus",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
"tokio-macros",
-
"windows-sys 0.48.0",
+
"windows-sys 0.52.0",
]
[[package]]
name = "tokio-macros"
-
version = "2.2.0"
+
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b"
+
checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
dependencies = [
"proc-macro2",
"quote",
···
[[package]]
name = "tokio-stream"
-
version = "0.1.14"
+
version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842"
+
checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047"
dependencies = [
"futures-core",
"pin-project-lite",
···
[[package]]
name = "tracing"
-
version = "0.1.40"
+
version = "0.1.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
+
checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
dependencies = [
"pin-project-lite",
"tracing-core",
···
[[package]]
name = "tracing-core"
-
version = "0.1.32"
+
version = "0.1.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
+
checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
dependencies = [
"once_cell",
"valuable",
···
[[package]]
name = "tracing-error"
-
version = "0.2.0"
+
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e"
+
checksum = "8b1581020d7a273442f5b45074a6a57d5757ad0a47dac0e9f0bd57b81936f3db"
dependencies = [
"tracing",
"tracing-subscriber",
···
[[package]]
name = "tracing-subscriber"
-
version = "0.3.18"
+
version = "0.3.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
+
checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008"
dependencies = [
"sharded-slab",
"thread_local",
···
[[package]]
name = "trash"
-
version = "3.3.1"
+
version = "5.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c658458d46d9d5a153a3b5cdd88d8579ad50d4fb85d53961e4526c8fc7c55a57"
+
checksum = "22746c6b0c6d85d60a8f0d858f7057dfdf11297c132679f452ec908fba42b871"
dependencies = [
"chrono",
"libc",
"log",
-
"objc",
+
"objc2",
+
"objc2-foundation",
"once_cell",
+
"percent-encoding",
"scopeguard",
-
"url",
+
"urlencoding",
"windows",
+
+
[[package]]
+
name = "typeid"
+
version = "1.0.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
[[package]]
name = "typetag"
-
version = "0.2.16"
+
version = "0.2.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "661d18414ec032a49ece2d56eee03636e43c4e8d577047ab334c0ba892e29aaf"
+
checksum = "73f22b40dd7bfe8c14230cf9702081366421890435b2d625fa92b4acc4c3de6f"
dependencies = [
"erased-serde",
"inventory",
···
[[package]]
name = "typetag-impl"
-
version = "0.2.16"
+
version = "0.2.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ac73887f47b9312552aa90ef477927ff014d63d1920ca8037c6c1951eab64bb1"
+
checksum = "35f5380909ffc31b4de4f4bdf96b877175a016aa2ca98cee39fcfd8c4d53d952"
dependencies = [
"proc-macro2",
"quote",
···
[[package]]
-
name = "unicode-bidi"
-
version = "0.3.15"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
-
-
[[package]]
name = "unicode-ident"
-
version = "1.0.12"
+
version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
[[package]]
-
name = "unicode-normalization"
-
version = "0.1.23"
+
name = "urlencoding"
+
version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
-
dependencies = [
-
"tinyvec",
-
]
-
-
[[package]]
-
name = "url"
-
version = "2.5.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633"
-
dependencies = [
-
"form_urlencoded",
-
"idna",
-
"percent-encoding",
-
]
+
checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
[[package]]
name = "utf8parse"
-
version = "0.2.1"
+
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]]
name = "uuid"
-
version = "1.7.0"
+
version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a"
+
checksum = "3cf4199d1e5d15ddd86a694e4d0dffa9c323ce759fea589f00fef9d81cc1931d"
+
dependencies = [
+
"js-sys",
+
"wasm-bindgen",
+
]
[[package]]
name = "valuable"
-
version = "0.1.0"
+
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
+
checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
[[package]]
name = "wasi"
···
[[package]]
name = "wasm-bindgen"
-
version = "0.2.92"
+
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
+
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
dependencies = [
"cfg-if",
+
"once_cell",
+
"rustversion",
"wasm-bindgen-macro",
[[package]]
name = "wasm-bindgen-backend"
-
version = "0.2.92"
+
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
+
checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
dependencies = [
"bumpalo",
"log",
-
"once_cell",
"proc-macro2",
"quote",
"syn",
···
[[package]]
name = "wasm-bindgen-macro"
-
version = "0.2.92"
+
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
+
checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
···
[[package]]
name = "wasm-bindgen-macro-support"
-
version = "0.2.92"
+
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
+
checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
dependencies = [
"proc-macro2",
"quote",
···
[[package]]
name = "wasm-bindgen-shared"
-
version = "0.2.92"
+
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
+
checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
+
dependencies = [
+
"unicode-ident",
+
]
[[package]]
name = "wildmatch"
-
version = "2.3.0"
+
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "495ec47bf3c1345005f40724f0269362c8556cbc43aed0526ed44cae1d35fceb"
+
checksum = "68ce1ab1f8c62655ebe1350f589c61e505cf94d385bc6a12899442d9081e71fd"
[[package]]
name = "windows"
-
version = "0.44.0"
+
version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b"
+
checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132"
dependencies = [
-
"windows-targets 0.42.2",
+
"windows-core 0.56.0",
+
"windows-targets",
[[package]]
name = "windows-core"
-
version = "0.52.0"
+
version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
+
checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6"
dependencies = [
-
"windows-targets 0.52.4",
+
"windows-implement 0.56.0",
+
"windows-interface 0.56.0",
+
"windows-result 0.1.2",
+
"windows-targets",
[[package]]
-
name = "windows-sys"
-
version = "0.48.0"
+
name = "windows-core"
+
version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
+
checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
dependencies = [
-
"windows-targets 0.48.5",
+
"windows-implement 0.60.0",
+
"windows-interface 0.59.1",
+
"windows-link",
+
"windows-result 0.3.4",
+
"windows-strings",
[[package]]
-
name = "windows-sys"
-
version = "0.52.0"
+
name = "windows-implement"
+
version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+
checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b"
dependencies = [
-
"windows-targets 0.52.4",
+
"proc-macro2",
+
"quote",
+
"syn",
[[package]]
-
name = "windows-targets"
-
version = "0.42.2"
+
name = "windows-implement"
+
version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
+
checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836"
dependencies = [
-
"windows_aarch64_gnullvm 0.42.2",
-
"windows_aarch64_msvc 0.42.2",
-
"windows_i686_gnu 0.42.2",
-
"windows_i686_msvc 0.42.2",
-
"windows_x86_64_gnu 0.42.2",
-
"windows_x86_64_gnullvm 0.42.2",
-
"windows_x86_64_msvc 0.42.2",
+
"proc-macro2",
+
"quote",
+
"syn",
[[package]]
-
name = "windows-targets"
-
version = "0.48.5"
+
name = "windows-interface"
+
version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
+
checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc"
dependencies = [
-
"windows_aarch64_gnullvm 0.48.5",
-
"windows_aarch64_msvc 0.48.5",
-
"windows_i686_gnu 0.48.5",
-
"windows_i686_msvc 0.48.5",
-
"windows_x86_64_gnu 0.48.5",
-
"windows_x86_64_gnullvm 0.48.5",
-
"windows_x86_64_msvc 0.48.5",
+
"proc-macro2",
+
"quote",
+
"syn",
[[package]]
-
name = "windows-targets"
-
version = "0.52.4"
+
name = "windows-interface"
+
version = "0.59.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b"
+
checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8"
dependencies = [
-
"windows_aarch64_gnullvm 0.52.4",
-
"windows_aarch64_msvc 0.52.4",
-
"windows_i686_gnu 0.52.4",
-
"windows_i686_msvc 0.52.4",
-
"windows_x86_64_gnu 0.52.4",
-
"windows_x86_64_gnullvm 0.52.4",
-
"windows_x86_64_msvc 0.52.4",
+
"proc-macro2",
+
"quote",
+
"syn",
[[package]]
-
name = "windows_aarch64_gnullvm"
-
version = "0.42.2"
+
name = "windows-link"
+
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
+
checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38"
[[package]]
-
name = "windows_aarch64_gnullvm"
-
version = "0.48.5"
+
name = "windows-result"
+
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
+
checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8"
+
dependencies = [
+
"windows-targets",
+
]
[[package]]
-
name = "windows_aarch64_gnullvm"
-
version = "0.52.4"
+
name = "windows-result"
+
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9"
+
checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
+
dependencies = [
+
"windows-link",
+
]
[[package]]
-
name = "windows_aarch64_msvc"
-
version = "0.42.2"
+
name = "windows-strings"
+
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
+
checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
+
dependencies = [
+
"windows-link",
+
]
[[package]]
-
name = "windows_aarch64_msvc"
-
version = "0.48.5"
+
name = "windows-sys"
+
version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+
dependencies = [
+
"windows-targets",
+
]
[[package]]
-
name = "windows_aarch64_msvc"
-
version = "0.52.4"
+
name = "windows-sys"
+
version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675"
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+
dependencies = [
+
"windows-targets",
+
]
[[package]]
-
name = "windows_i686_gnu"
-
version = "0.42.2"
+
name = "windows-targets"
+
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+
dependencies = [
+
"windows_aarch64_gnullvm",
+
"windows_aarch64_msvc",
+
"windows_i686_gnu",
+
"windows_i686_gnullvm",
+
"windows_i686_msvc",
+
"windows_x86_64_gnu",
+
"windows_x86_64_gnullvm",
+
"windows_x86_64_msvc",
+
]
[[package]]
-
name = "windows_i686_gnu"
-
version = "0.48.5"
+
name = "windows_aarch64_gnullvm"
+
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]]
-
name = "windows_i686_gnu"
-
version = "0.52.4"
+
name = "windows_aarch64_msvc"
+
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3"
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]]
-
name = "windows_i686_msvc"
-
version = "0.42.2"
+
name = "windows_i686_gnu"
+
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
[[package]]
-
name = "windows_i686_msvc"
-
version = "0.48.5"
+
name = "windows_i686_gnullvm"
+
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
name = "windows_i686_msvc"
-
version = "0.52.4"
+
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02"
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_x86_64_gnu"
-
version = "0.42.2"
+
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
-
-
[[package]]
-
name = "windows_x86_64_gnu"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
-
-
[[package]]
-
name = "windows_x86_64_gnu"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03"
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]]
name = "windows_x86_64_gnullvm"
-
version = "0.42.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
-
-
[[package]]
-
name = "windows_x86_64_gnullvm"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
-
-
[[package]]
-
name = "windows_x86_64_gnullvm"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177"
-
-
[[package]]
-
name = "windows_x86_64_msvc"
-
version = "0.42.2"
+
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
-
-
[[package]]
-
name = "windows_x86_64_msvc"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]]
name = "windows_x86_64_msvc"
-
version = "0.52.4"
+
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "xshell"
-
version = "0.2.5"
+
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ce2107fe03e558353b4c71ad7626d58ed82efaf56c54134228608893c77023ad"
+
checksum = "9e7290c623014758632efe00737145b6867b66292c42167f2ec381eb566a373d"
dependencies = [
"xshell-macros",
[[package]]
name = "xshell-macros"
-
version = "0.2.5"
+
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "7e2c411759b501fb9501aac2b1b2d287a6e93e5bdcf13c25306b23e1b716dd0e"
+
checksum = "32ac00cd3f8ec9c1d33fb3e7958a82df6989c42d747bd326c822b1d625283547"
[[package]]
name = "xtask"
+10
REUSE.toml
···
+
version = 1
+
SPDX-PackageName = "PTSD"
+
SPDX-PackageSupplier = "Łukasz Niemier <#@hauleth.dev>"
+
SPDX-PackageDownloadLocation = "https://git.sr.ht/~hauleth/ptsd"
+
+
[[annotations]]
+
path = "**.lock"
+
precedence = "aggregate"
+
SPDX-FileCopyrightText = "2024 Łukasz Niemier <#@hauleth.dev>"
+
SPDX-License-Identifier = "EUPL-1.2"
-1377
cli/Cargo.lock
···
-
# This file is automatically @generated by Cargo.
-
# It is not intended for manual editing.
-
version = 3
-
-
[[package]]
-
name = "addr2line"
-
version = "0.21.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
-
dependencies = [
-
"gimli",
-
]
-
-
[[package]]
-
name = "adler"
-
version = "1.0.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
-
-
[[package]]
-
name = "aho-corasick"
-
version = "1.1.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
-
dependencies = [
-
"memchr",
-
]
-
-
[[package]]
-
name = "android-tzdata"
-
version = "0.1.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
-
-
[[package]]
-
name = "android_system_properties"
-
version = "0.1.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
-
dependencies = [
-
"libc",
-
]
-
-
[[package]]
-
name = "anstream"
-
version = "0.6.13"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb"
-
dependencies = [
-
"anstyle",
-
"anstyle-parse",
-
"anstyle-query",
-
"anstyle-wincon",
-
"colorchoice",
-
"utf8parse",
-
]
-
-
[[package]]
-
name = "anstyle"
-
version = "1.0.6"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc"
-
-
[[package]]
-
name = "anstyle-parse"
-
version = "0.2.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c"
-
dependencies = [
-
"utf8parse",
-
]
-
-
[[package]]
-
name = "anstyle-query"
-
version = "1.0.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648"
-
dependencies = [
-
"windows-sys 0.52.0",
-
]
-
-
[[package]]
-
name = "anstyle-wincon"
-
version = "3.0.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"
-
dependencies = [
-
"anstyle",
-
"windows-sys 0.52.0",
-
]
-
-
[[package]]
-
name = "async-stream"
-
version = "0.3.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51"
-
dependencies = [
-
"async-stream-impl",
-
"futures-core",
-
"pin-project-lite",
-
]
-
-
[[package]]
-
name = "async-stream-impl"
-
version = "0.3.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
-
dependencies = [
-
"proc-macro2",
-
"quote",
-
"syn",
-
]
-
-
[[package]]
-
name = "async-trait"
-
version = "0.1.77"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9"
-
dependencies = [
-
"proc-macro2",
-
"quote",
-
"syn",
-
]
-
-
[[package]]
-
name = "autocfg"
-
version = "1.1.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
-
-
[[package]]
-
name = "backtrace"
-
version = "0.3.69"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"
-
dependencies = [
-
"addr2line",
-
"cc",
-
"cfg-if",
-
"libc",
-
"miniz_oxide",
-
"object",
-
"rustc-demangle",
-
]
-
-
[[package]]
-
name = "bitflags"
-
version = "1.3.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
-
-
[[package]]
-
name = "bitflags"
-
version = "2.4.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
-
-
[[package]]
-
name = "bumpalo"
-
version = "3.15.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b"
-
-
[[package]]
-
name = "byteorder"
-
version = "1.5.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
-
-
[[package]]
-
name = "bytes"
-
version = "1.5.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223"
-
-
[[package]]
-
name = "cc"
-
version = "1.0.89"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a0ba8f7aaa012f30d5b2861462f6708eccd49c3c39863fe083a308035f63d723"
-
-
[[package]]
-
name = "cfb"
-
version = "0.7.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f"
-
dependencies = [
-
"byteorder",
-
"fnv",
-
"uuid",
-
]
-
-
[[package]]
-
name = "cfg-if"
-
version = "1.0.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
-
-
[[package]]
-
name = "chrono"
-
version = "0.4.34"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b"
-
dependencies = [
-
"android-tzdata",
-
"iana-time-zone",
-
"num-traits",
-
"windows-targets 0.52.4",
-
]
-
-
[[package]]
-
name = "clap"
-
version = "4.5.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da"
-
dependencies = [
-
"clap_builder",
-
"clap_derive",
-
]
-
-
[[package]]
-
name = "clap_builder"
-
version = "4.5.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb"
-
dependencies = [
-
"anstream",
-
"anstyle",
-
"clap_lex",
-
"strsim",
-
]
-
-
[[package]]
-
name = "clap_derive"
-
version = "4.5.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47"
-
dependencies = [
-
"heck",
-
"proc-macro2",
-
"quote",
-
"syn",
-
]
-
-
[[package]]
-
name = "clap_lex"
-
version = "0.7.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
-
-
[[package]]
-
name = "color-eyre"
-
version = "0.6.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5a667583cca8c4f8436db8de46ea8233c42a7d9ae424a82d338f2e4675229204"
-
dependencies = [
-
"backtrace",
-
"color-spantrace",
-
"eyre",
-
"indenter",
-
"once_cell",
-
"owo-colors",
-
"tracing-error",
-
]
-
-
[[package]]
-
name = "color-spantrace"
-
version = "0.2.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "cd6be1b2a7e382e2b98b43b2adcca6bb0e465af0bdd38123873ae61eb17a72c2"
-
dependencies = [
-
"once_cell",
-
"owo-colors",
-
"tracing-core",
-
"tracing-error",
-
]
-
-
[[package]]
-
name = "colorchoice"
-
version = "1.0.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
-
-
[[package]]
-
name = "core-foundation-sys"
-
version = "0.8.6"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
-
-
[[package]]
-
name = "dirs"
-
version = "5.0.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
-
dependencies = [
-
"dirs-sys",
-
]
-
-
[[package]]
-
name = "dirs-sys"
-
version = "0.4.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
-
dependencies = [
-
"libc",
-
"option-ext",
-
"redox_users",
-
"windows-sys 0.48.0",
-
]
-
-
[[package]]
-
name = "erased-serde"
-
version = "0.4.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "388979d208a049ffdfb22fa33b9c81942215b940910bccfe258caeb25d125cb3"
-
dependencies = [
-
"serde",
-
]
-
-
[[package]]
-
name = "eyre"
-
version = "0.6.12"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec"
-
dependencies = [
-
"indenter",
-
"once_cell",
-
]
-
-
[[package]]
-
name = "fnv"
-
version = "1.0.7"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
-
-
[[package]]
-
name = "form_urlencoded"
-
version = "1.2.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
-
dependencies = [
-
"percent-encoding",
-
]
-
-
[[package]]
-
name = "futures"
-
version = "0.3.30"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
-
dependencies = [
-
"futures-channel",
-
"futures-core",
-
"futures-executor",
-
"futures-io",
-
"futures-sink",
-
"futures-task",
-
"futures-util",
-
]
-
-
[[package]]
-
name = "futures-channel"
-
version = "0.3.30"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
-
dependencies = [
-
"futures-core",
-
"futures-sink",
-
]
-
-
[[package]]
-
name = "futures-core"
-
version = "0.3.30"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
-
-
[[package]]
-
name = "futures-executor"
-
version = "0.3.30"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
-
dependencies = [
-
"futures-core",
-
"futures-task",
-
"futures-util",
-
]
-
-
[[package]]
-
name = "futures-io"
-
version = "0.3.30"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
-
-
[[package]]
-
name = "futures-macro"
-
version = "0.3.30"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
-
dependencies = [
-
"proc-macro2",
-
"quote",
-
"syn",
-
]
-
-
[[package]]
-
name = "futures-sink"
-
version = "0.3.30"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
-
-
[[package]]
-
name = "futures-task"
-
version = "0.3.30"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
-
-
[[package]]
-
name = "futures-util"
-
version = "0.3.30"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
-
dependencies = [
-
"futures-channel",
-
"futures-core",
-
"futures-io",
-
"futures-macro",
-
"futures-sink",
-
"futures-task",
-
"memchr",
-
"pin-project-lite",
-
"pin-utils",
-
"slab",
-
]
-
-
[[package]]
-
name = "getrandom"
-
version = "0.2.12"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
-
dependencies = [
-
"cfg-if",
-
"libc",
-
"wasi",
-
]
-
-
[[package]]
-
name = "gimli"
-
version = "0.28.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
-
-
[[package]]
-
name = "heck"
-
version = "0.4.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
-
-
[[package]]
-
name = "hermit-abi"
-
version = "0.3.9"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
-
-
[[package]]
-
name = "iana-time-zone"
-
version = "0.1.60"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
-
dependencies = [
-
"android_system_properties",
-
"core-foundation-sys",
-
"iana-time-zone-haiku",
-
"js-sys",
-
"wasm-bindgen",
-
"windows-core",
-
]
-
-
[[package]]
-
name = "iana-time-zone-haiku"
-
version = "0.1.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
-
dependencies = [
-
"cc",
-
]
-
-
[[package]]
-
name = "idna"
-
version = "0.5.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
-
dependencies = [
-
"unicode-bidi",
-
"unicode-normalization",
-
]
-
-
[[package]]
-
name = "indenter"
-
version = "0.3.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
-
-
[[package]]
-
name = "infer"
-
version = "0.15.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "cb33622da908807a06f9513c19b3c1ad50fab3e4137d82a78107d502075aa199"
-
dependencies = [
-
"cfb",
-
]
-
-
[[package]]
-
name = "inventory"
-
version = "0.3.15"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f958d3d68f4167080a18141e10381e7634563984a537f2a49a30fd8e53ac5767"
-
-
[[package]]
-
name = "itoa"
-
version = "1.0.10"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
-
-
[[package]]
-
name = "js-sys"
-
version = "0.3.69"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
-
dependencies = [
-
"wasm-bindgen",
-
]
-
-
[[package]]
-
name = "lazy_static"
-
version = "1.4.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
-
-
[[package]]
-
name = "libc"
-
version = "0.2.153"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
-
-
[[package]]
-
name = "libredox"
-
version = "0.0.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8"
-
dependencies = [
-
"bitflags 2.4.2",
-
"libc",
-
"redox_syscall",
-
]
-
-
[[package]]
-
name = "lock_api"
-
version = "0.4.11"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
-
dependencies = [
-
"autocfg",
-
"scopeguard",
-
]
-
-
[[package]]
-
name = "log"
-
version = "0.4.21"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
-
-
[[package]]
-
name = "malloc_buf"
-
version = "0.0.6"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
-
dependencies = [
-
"libc",
-
]
-
-
[[package]]
-
name = "memchr"
-
version = "2.7.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
-
-
[[package]]
-
name = "miniz_oxide"
-
version = "0.7.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
-
dependencies = [
-
"adler",
-
]
-
-
[[package]]
-
name = "mio"
-
version = "0.8.11"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
-
dependencies = [
-
"libc",
-
"wasi",
-
"windows-sys 0.48.0",
-
]
-
-
[[package]]
-
name = "num-traits"
-
version = "0.2.18"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a"
-
dependencies = [
-
"autocfg",
-
]
-
-
[[package]]
-
name = "num_cpus"
-
version = "1.16.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
-
dependencies = [
-
"hermit-abi",
-
"libc",
-
]
-
-
[[package]]
-
name = "objc"
-
version = "0.2.7"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1"
-
dependencies = [
-
"malloc_buf",
-
]
-
-
[[package]]
-
name = "object"
-
version = "0.32.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
-
dependencies = [
-
"memchr",
-
]
-
-
[[package]]
-
name = "once_cell"
-
version = "1.19.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
-
-
[[package]]
-
name = "option-ext"
-
version = "0.2.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
-
-
[[package]]
-
name = "owo-colors"
-
version = "3.5.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"
-
-
[[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.9"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
-
dependencies = [
-
"cfg-if",
-
"libc",
-
"redox_syscall",
-
"smallvec",
-
"windows-targets 0.48.5",
-
]
-
-
[[package]]
-
name = "percent-encoding"
-
version = "2.3.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
-
-
[[package]]
-
name = "pin-project-lite"
-
version = "0.2.13"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
-
-
[[package]]
-
name = "pin-utils"
-
version = "0.1.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
-
-
[[package]]
-
name = "proc-macro2"
-
version = "1.0.78"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
-
dependencies = [
-
"unicode-ident",
-
]
-
-
[[package]]
-
name = "ptsd"
-
version = "0.1.0"
-
dependencies = [
-
"async-stream",
-
"async-trait",
-
"clap",
-
"color-eyre",
-
"dirs",
-
"futures",
-
"infer",
-
"libc",
-
"regex",
-
"serde",
-
"serde_json",
-
"tokio",
-
"tokio-stream",
-
"trash",
-
"typetag",
-
"wildmatch",
-
]
-
-
[[package]]
-
name = "quote"
-
version = "1.0.35"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
-
dependencies = [
-
"proc-macro2",
-
]
-
-
[[package]]
-
name = "redox_syscall"
-
version = "0.4.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
-
dependencies = [
-
"bitflags 1.3.2",
-
]
-
-
[[package]]
-
name = "redox_users"
-
version = "0.4.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4"
-
dependencies = [
-
"getrandom",
-
"libredox",
-
"thiserror",
-
]
-
-
[[package]]
-
name = "regex"
-
version = "1.10.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15"
-
dependencies = [
-
"aho-corasick",
-
"memchr",
-
"regex-automata",
-
"regex-syntax",
-
]
-
-
[[package]]
-
name = "regex-automata"
-
version = "0.4.6"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
-
dependencies = [
-
"aho-corasick",
-
"memchr",
-
"regex-syntax",
-
]
-
-
[[package]]
-
name = "regex-syntax"
-
version = "0.8.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
-
-
[[package]]
-
name = "rustc-demangle"
-
version = "0.1.23"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
-
-
[[package]]
-
name = "ryu"
-
version = "1.0.17"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
-
-
[[package]]
-
name = "scopeguard"
-
version = "1.2.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
-
-
[[package]]
-
name = "serde"
-
version = "1.0.197"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2"
-
dependencies = [
-
"serde_derive",
-
]
-
-
[[package]]
-
name = "serde_derive"
-
version = "1.0.197"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
-
dependencies = [
-
"proc-macro2",
-
"quote",
-
"syn",
-
]
-
-
[[package]]
-
name = "serde_json"
-
version = "1.0.114"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0"
-
dependencies = [
-
"itoa",
-
"ryu",
-
"serde",
-
]
-
-
[[package]]
-
name = "sharded-slab"
-
version = "0.1.7"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
-
dependencies = [
-
"lazy_static",
-
]
-
-
[[package]]
-
name = "signal-hook-registry"
-
version = "1.4.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1"
-
dependencies = [
-
"libc",
-
]
-
-
[[package]]
-
name = "slab"
-
version = "0.4.9"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
-
dependencies = [
-
"autocfg",
-
]
-
-
[[package]]
-
name = "smallvec"
-
version = "1.13.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
-
-
[[package]]
-
name = "strsim"
-
version = "0.11.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01"
-
-
[[package]]
-
name = "syn"
-
version = "2.0.52"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07"
-
dependencies = [
-
"proc-macro2",
-
"quote",
-
"unicode-ident",
-
]
-
-
[[package]]
-
name = "thiserror"
-
version = "1.0.57"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b"
-
dependencies = [
-
"thiserror-impl",
-
]
-
-
[[package]]
-
name = "thiserror-impl"
-
version = "1.0.57"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81"
-
dependencies = [
-
"proc-macro2",
-
"quote",
-
"syn",
-
]
-
-
[[package]]
-
name = "thread_local"
-
version = "1.1.8"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
-
dependencies = [
-
"cfg-if",
-
"once_cell",
-
]
-
-
[[package]]
-
name = "tinyvec"
-
version = "1.6.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
-
dependencies = [
-
"tinyvec_macros",
-
]
-
-
[[package]]
-
name = "tinyvec_macros"
-
version = "0.1.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
-
-
[[package]]
-
name = "tokio"
-
version = "1.36.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931"
-
dependencies = [
-
"backtrace",
-
"bytes",
-
"libc",
-
"mio",
-
"num_cpus",
-
"parking_lot",
-
"pin-project-lite",
-
"signal-hook-registry",
-
"tokio-macros",
-
"windows-sys 0.48.0",
-
]
-
-
[[package]]
-
name = "tokio-macros"
-
version = "2.2.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b"
-
dependencies = [
-
"proc-macro2",
-
"quote",
-
"syn",
-
]
-
-
[[package]]
-
name = "tokio-stream"
-
version = "0.1.14"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842"
-
dependencies = [
-
"futures-core",
-
"pin-project-lite",
-
"tokio",
-
]
-
-
[[package]]
-
name = "tracing"
-
version = "0.1.40"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
-
dependencies = [
-
"pin-project-lite",
-
"tracing-core",
-
]
-
-
[[package]]
-
name = "tracing-core"
-
version = "0.1.32"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
-
dependencies = [
-
"once_cell",
-
"valuable",
-
]
-
-
[[package]]
-
name = "tracing-error"
-
version = "0.2.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e"
-
dependencies = [
-
"tracing",
-
"tracing-subscriber",
-
]
-
-
[[package]]
-
name = "tracing-subscriber"
-
version = "0.3.18"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
-
dependencies = [
-
"sharded-slab",
-
"thread_local",
-
"tracing-core",
-
]
-
-
[[package]]
-
name = "trash"
-
version = "3.3.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c658458d46d9d5a153a3b5cdd88d8579ad50d4fb85d53961e4526c8fc7c55a57"
-
dependencies = [
-
"chrono",
-
"libc",
-
"log",
-
"objc",
-
"once_cell",
-
"scopeguard",
-
"url",
-
"windows",
-
]
-
-
[[package]]
-
name = "typetag"
-
version = "0.2.16"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "661d18414ec032a49ece2d56eee03636e43c4e8d577047ab334c0ba892e29aaf"
-
dependencies = [
-
"erased-serde",
-
"inventory",
-
"once_cell",
-
"serde",
-
"typetag-impl",
-
]
-
-
[[package]]
-
name = "typetag-impl"
-
version = "0.2.16"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ac73887f47b9312552aa90ef477927ff014d63d1920ca8037c6c1951eab64bb1"
-
dependencies = [
-
"proc-macro2",
-
"quote",
-
"syn",
-
]
-
-
[[package]]
-
name = "unicode-bidi"
-
version = "0.3.15"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
-
-
[[package]]
-
name = "unicode-ident"
-
version = "1.0.12"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
-
-
[[package]]
-
name = "unicode-normalization"
-
version = "0.1.23"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
-
dependencies = [
-
"tinyvec",
-
]
-
-
[[package]]
-
name = "url"
-
version = "2.5.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633"
-
dependencies = [
-
"form_urlencoded",
-
"idna",
-
"percent-encoding",
-
]
-
-
[[package]]
-
name = "utf8parse"
-
version = "0.2.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
-
-
[[package]]
-
name = "uuid"
-
version = "1.7.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a"
-
-
[[package]]
-
name = "valuable"
-
version = "0.1.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
-
-
[[package]]
-
name = "wasi"
-
version = "0.11.0+wasi-snapshot-preview1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
-
-
[[package]]
-
name = "wasm-bindgen"
-
version = "0.2.92"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
-
dependencies = [
-
"cfg-if",
-
"wasm-bindgen-macro",
-
]
-
-
[[package]]
-
name = "wasm-bindgen-backend"
-
version = "0.2.92"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
-
dependencies = [
-
"bumpalo",
-
"log",
-
"once_cell",
-
"proc-macro2",
-
"quote",
-
"syn",
-
"wasm-bindgen-shared",
-
]
-
-
[[package]]
-
name = "wasm-bindgen-macro"
-
version = "0.2.92"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
-
dependencies = [
-
"quote",
-
"wasm-bindgen-macro-support",
-
]
-
-
[[package]]
-
name = "wasm-bindgen-macro-support"
-
version = "0.2.92"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
-
dependencies = [
-
"proc-macro2",
-
"quote",
-
"syn",
-
"wasm-bindgen-backend",
-
"wasm-bindgen-shared",
-
]
-
-
[[package]]
-
name = "wasm-bindgen-shared"
-
version = "0.2.92"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
-
-
[[package]]
-
name = "wildmatch"
-
version = "2.3.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "495ec47bf3c1345005f40724f0269362c8556cbc43aed0526ed44cae1d35fceb"
-
-
[[package]]
-
name = "windows"
-
version = "0.44.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b"
-
dependencies = [
-
"windows-targets 0.42.2",
-
]
-
-
[[package]]
-
name = "windows-core"
-
version = "0.52.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
-
dependencies = [
-
"windows-targets 0.52.4",
-
]
-
-
[[package]]
-
name = "windows-sys"
-
version = "0.48.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
-
dependencies = [
-
"windows-targets 0.48.5",
-
]
-
-
[[package]]
-
name = "windows-sys"
-
version = "0.52.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
-
dependencies = [
-
"windows-targets 0.52.4",
-
]
-
-
[[package]]
-
name = "windows-targets"
-
version = "0.42.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
-
dependencies = [
-
"windows_aarch64_gnullvm 0.42.2",
-
"windows_aarch64_msvc 0.42.2",
-
"windows_i686_gnu 0.42.2",
-
"windows_i686_msvc 0.42.2",
-
"windows_x86_64_gnu 0.42.2",
-
"windows_x86_64_gnullvm 0.42.2",
-
"windows_x86_64_msvc 0.42.2",
-
]
-
-
[[package]]
-
name = "windows-targets"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
-
dependencies = [
-
"windows_aarch64_gnullvm 0.48.5",
-
"windows_aarch64_msvc 0.48.5",
-
"windows_i686_gnu 0.48.5",
-
"windows_i686_msvc 0.48.5",
-
"windows_x86_64_gnu 0.48.5",
-
"windows_x86_64_gnullvm 0.48.5",
-
"windows_x86_64_msvc 0.48.5",
-
]
-
-
[[package]]
-
name = "windows-targets"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b"
-
dependencies = [
-
"windows_aarch64_gnullvm 0.52.4",
-
"windows_aarch64_msvc 0.52.4",
-
"windows_i686_gnu 0.52.4",
-
"windows_i686_msvc 0.52.4",
-
"windows_x86_64_gnu 0.52.4",
-
"windows_x86_64_gnullvm 0.52.4",
-
"windows_x86_64_msvc 0.52.4",
-
]
-
-
[[package]]
-
name = "windows_aarch64_gnullvm"
-
version = "0.42.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
-
-
[[package]]
-
name = "windows_aarch64_gnullvm"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
-
-
[[package]]
-
name = "windows_aarch64_gnullvm"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9"
-
-
[[package]]
-
name = "windows_aarch64_msvc"
-
version = "0.42.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
-
-
[[package]]
-
name = "windows_aarch64_msvc"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
-
-
[[package]]
-
name = "windows_aarch64_msvc"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675"
-
-
[[package]]
-
name = "windows_i686_gnu"
-
version = "0.42.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
-
-
[[package]]
-
name = "windows_i686_gnu"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
-
-
[[package]]
-
name = "windows_i686_gnu"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3"
-
-
[[package]]
-
name = "windows_i686_msvc"
-
version = "0.42.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
-
-
[[package]]
-
name = "windows_i686_msvc"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
-
-
[[package]]
-
name = "windows_i686_msvc"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02"
-
-
[[package]]
-
name = "windows_x86_64_gnu"
-
version = "0.42.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
-
-
[[package]]
-
name = "windows_x86_64_gnu"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
-
-
[[package]]
-
name = "windows_x86_64_gnu"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03"
-
-
[[package]]
-
name = "windows_x86_64_gnullvm"
-
version = "0.42.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
-
-
[[package]]
-
name = "windows_x86_64_gnullvm"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
-
-
[[package]]
-
name = "windows_x86_64_gnullvm"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177"
-
-
[[package]]
-
name = "windows_x86_64_msvc"
-
version = "0.42.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
-
-
[[package]]
-
name = "windows_x86_64_msvc"
-
version = "0.48.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
-
-
[[package]]
-
name = "windows_x86_64_msvc"
-
version = "0.52.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
+3 -3
cli/Cargo.toml
···
async-trait = "0.1.77"
clap = { version = "4.4.16", features = ["derive"] }
color-eyre = "0.6.2"
-
dirs = "5.0.1"
+
dirs = "6"
futures = "0.3.30"
-
infer = { version = "0.15.0", default-features = false, features = ["alloc", "cfb"] }
+
infer = { version = "0.19.0", default-features = false, features = ["alloc", "cfb"] }
libc = "0.2.152"
regex = "1.10.2"
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
tokio = { version = "1.35.1", default-features = false, features = ["rt-multi-thread", "fs", "io-std", "io-util", "macros", "process", "parking_lot", "mio"] }
tokio-stream = { version = "0.1.14", features = ["fs"] }
-
trash = "3.2.0"
+
trash = "5.0"
typetag = "0.2.15"
wildmatch = "2.3.0"
+7 -3
cli/src/filters.rs
···
Greater,
}
+
impl Ordering {
+
fn default() -> std::cmp::Ordering { std::cmp::Ordering::Equal }
+
}
+
filter! {
"size";
struct Size {
size: u64,
-
#[serde(with = "Ordering")]
+
#[serde(with = "Ordering", default = "Ordering::default")]
ordering: std::cmp::Ordering,
};
(self, path) -> {
···
impl Filter for Magic {
async fn matches(&self, file: &Path) -> bool {
match *self {
-
Magic::Magic { ref bytes, offset } => read_first_bytes(bytes.len(), file, offset)
+
Self::Magic { ref bytes, offset } => read_first_bytes(bytes.len(), file, offset)
.await
.map(|read| read == *bytes)
.unwrap_or(false),
-
Magic::Mime(ref mime_type) => guess_mime(file)
+
Self::Mime(ref mime_type) => guess_mime(file)
.await
.map(|typ| typ.mime_type() == mime_type)
.unwrap_or(false),
+7 -1
cli/src/main.rs
···
.try_collect()
.await?;
+
if !args.execute {
+
println!("Dry run, to apply changes run with flag `-!`\n");
+
}
+
+
//let out =
stream::iter(tasks)
.flatten()
-
.for_each_concurrent(None, |(action, path)| action.run(path, args.execute))
+
.then(|(action, path)| action.run(path, args.execute))
+
.count()
.await;
Ok(())
+12 -2
docs/ptsd.json.5.scd
···
Match name of the file against pattern. Available options (exclusive):
- *exact* - match name exactly
-
- *wildcard* - match name agains wildcard pattern
+
- *wildcard* - match name against wildcard pattern
- *regex* - match name against regular expression
*file_type*
···
return if subject of the test point to file of that type
*content_type*
-
Match agains content type.
+
Match against content type.
Options:
···
range 0..255 that describe magic bytes that will be read from the file
and matched. Optionally there can be also used option *offset* that
describes offset from the beginning of the file for the pattern.
+
+
*size*
+
Match against file size.
+
+
Options:
+
+
- *size* - value which will be compared with the file size
+
- *ordering* - one of *grater*, *equal*, *less* which determines what
+
comparison operator will be used.
+
There are also meta filters:
+1
examples/downloaded-gp-to-guitar.json
···
"type": "any",
"filters": [
{"type": "name", "wildcard": "*.gp"},
+
{"type": "name", "wildcard": "*.gp4"},
{"type": "name", "wildcard": "*.gp5"}
]
},
+19
examples/downloaded-gp-to-guitar.ncl
···
+
# SPDX-FileCopyrightText: 2024 Łukasz Niemier <#@hauleth.dev>
+
#
+
# SPDX-License-Identifier: EUPL-1.2
+
+
let Ptsd = import "../ptsd.ncl" in
+
Ptsd.build
+
[
+
{
+
location = "~/Downloads/",
+
filter =
+
'any [
+
'name ('wildcard "*.gp"),
+
'name ('wildcard "*.gp5"),
+
],
+
actions = [
+
'move "~/Documents/Guitar/"
+
]
+
},
+
]
+122 -686
flake.lock
···
{
"nodes": {
-
"advisory-db": {
-
"flake": false,
-
"locked": {
-
"lastModified": 1714183630,
-
"narHash": "sha256-1BVft7ggSN2XXFeXQjazU3jN9wVECd9qp2mZx/8GDMk=",
-
"owner": "rustsec",
-
"repo": "advisory-db",
-
"rev": "35e7459a331d3e0c585e56dabd03006b9b354088",
-
"type": "github"
-
},
-
"original": {
-
"owner": "rustsec",
-
"repo": "advisory-db",
-
"type": "github"
-
}
-
},
"cachix": {
"inputs": {
-
"devenv": "devenv_2",
+
"devenv": [
+
"devenv"
+
],
"flake-compat": [
-
"devenv",
-
"flake-compat"
+
"devenv"
],
-
"nixpkgs": [
-
"devenv",
-
"nixpkgs"
+
"git-hooks": [
+
"devenv"
],
-
"pre-commit-hooks": [
-
"devenv",
-
"pre-commit-hooks"
-
]
+
"nixpkgs": "nixpkgs"
},
"locked": {
-
"lastModified": 1712055811,
-
"narHash": "sha256-7FcfMm5A/f02yyzuavJe06zLa9hcMHsagE28ADcmQvk=",
+
"lastModified": 1744206633,
+
"narHash": "sha256-pb5aYkE8FOoa4n123slgHiOf1UbNSnKe5pEZC+xXD5g=",
"owner": "cachix",
"repo": "cachix",
-
"rev": "02e38da89851ec7fec3356a5c04bc8349cae0e30",
+
"rev": "8a60090640b96f9df95d1ab99e5763a586be1404",
"type": "github"
},
"original": {
"owner": "cachix",
+
"ref": "latest",
"repo": "cachix",
"type": "github"
}
},
"crane": {
-
"inputs": {
-
"nixpkgs": [
-
"nickel",
-
"nixpkgs"
-
]
-
},
"locked": {
-
"lastModified": 1717535930,
-
"narHash": "sha256-1hZ/txnbd/RmiBPNUs7i8UQw2N89uAK3UzrGAWdnFfU=",
+
"lastModified": 1746291859,
+
"narHash": "sha256-DdWJLA+D5tcmrRSg5Y7tp/qWaD05ATI4Z7h22gd1h7Q=",
"owner": "ipetkov",
"repo": "crane",
-
"rev": "55e7754ec31dac78980c8be45f8a28e80e370946",
-
"type": "github"
-
},
-
"original": {
-
"owner": "ipetkov",
-
"repo": "crane",
-
"type": "github"
-
}
-
},
-
"crane_2": {
-
"inputs": {
-
"nixpkgs": [
-
"nickel",
-
"topiary",
-
"nixpkgs"
-
]
-
},
-
"locked": {
-
"lastModified": 1715274763,
-
"narHash": "sha256-3Iv1PGHJn9sV3HO4FlOVaaztOxa9uGLfOmUWrH7v7+A=",
-
"owner": "ipetkov",
-
"repo": "crane",
-
"rev": "27025ab71bdca30e7ed0a16c88fd74c5970fc7f5",
+
"rev": "dfd9a8dfd09db9aad544c4d3b6c47b12562544a5",
"type": "github"
},
"original": {
···
"devenv": {
"inputs": {
"cachix": "cachix",
-
"flake-compat": "flake-compat_2",
-
"nix": "nix_2",
-
"nixpkgs": "nixpkgs_2",
-
"pre-commit-hooks": "pre-commit-hooks"
-
},
-
"locked": {
-
"lastModified": 1723487333,
-
"narHash": "sha256-jqi/hVQL6S9lj/HkWaPPZQW/BfP0D0Veb45cpSvfRVE=",
-
"owner": "cachix",
-
"repo": "devenv",
-
"rev": "b285601679c7686f623791ad93a8e0debc322633",
-
"type": "github"
-
},
-
"original": {
-
"owner": "cachix",
-
"repo": "devenv",
-
"type": "github"
-
}
-
},
-
"devenv_2": {
-
"inputs": {
-
"flake-compat": [
-
"devenv",
-
"cachix",
-
"flake-compat"
-
],
+
"flake-compat": "flake-compat",
+
"git-hooks": "git-hooks",
"nix": "nix",
-
"nixpkgs": "nixpkgs",
-
"poetry2nix": "poetry2nix",
-
"pre-commit-hooks": [
-
"devenv",
-
"cachix",
-
"pre-commit-hooks"
-
]
+
"nixpkgs": "nixpkgs_3"
},
"locked": {
-
"lastModified": 1708704632,
-
"narHash": "sha256-w+dOIW60FKMaHI1q5714CSibk99JfYxm0CzTinYWr+Q=",
+
"lastModified": 1749550420,
+
"narHash": "sha256-YxbYLZSeEJX76fW0KPDpTjlF3ppQ+uh2z0fM5hEZbLU=",
"owner": "cachix",
"repo": "devenv",
-
"rev": "2ee4450b0f4b95a1b90f2eb5ffea98b90e48c196",
+
"rev": "851a96d662ab265a15212ae4a4ec242a7c420d6f",
"type": "github"
},
"original": {
"owner": "cachix",
-
"ref": "python-rewrite",
"repo": "devenv",
"type": "github"
}
···
"rust-analyzer-src": "rust-analyzer-src"
},
"locked": {
-
"lastModified": 1723703304,
-
"narHash": "sha256-7ehq0nfRHpU3oNAkRpklaDxQZUpuaUig2sR2LI+IL/U=",
+
"lastModified": 1749537578,
+
"narHash": "sha256-dYEEiNRw7rClQi4Y7t9jlHjbuUvSbdTdM/jXwXuaDeQ=",
"owner": "nix-community",
"repo": "fenix",
-
"rev": "6e4233dc54850e8aff6eff401400e9a9343881eb",
+
"rev": "5e3ce25aa3048f14f206a6c4fab46af6ad939482",
"type": "github"
},
"original": {
···
"flake-compat": {
"flake": false,
"locked": {
-
"lastModified": 1673956053,
-
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
+
"lastModified": 1733328505,
+
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"owner": "edolstra",
"repo": "flake-compat",
-
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
+
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"type": "github"
},
"original": {
···
"type": "github"
}
},
-
"flake-compat_3": {
-
"flake": false,
-
"locked": {
-
"lastModified": 1673956053,
-
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
-
"owner": "edolstra",
-
"repo": "flake-compat",
-
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
-
"type": "github"
-
},
-
"original": {
-
"owner": "edolstra",
-
"repo": "flake-compat",
-
"type": "github"
-
}
-
},
-
"flake-compat_4": {
-
"flake": false,
-
"locked": {
-
"lastModified": 1696426674,
-
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
-
"owner": "edolstra",
-
"repo": "flake-compat",
-
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
-
"type": "github"
-
},
-
"original": {
-
"owner": "edolstra",
-
"repo": "flake-compat",
-
"type": "github"
-
}
-
},
"flake-parts": {
"inputs": {
-
"nixpkgs-lib": "nixpkgs-lib"
+
"nixpkgs-lib": [
+
"devenv",
+
"nix",
+
"nixpkgs"
+
]
},
"locked": {
-
"lastModified": 1722555600,
-
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
+
"lastModified": 1712014858,
+
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
"owner": "hercules-ci",
"repo": "flake-parts",
-
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
+
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
"type": "github"
},
"original": {
···
},
"flake-parts_2": {
"inputs": {
-
"nixpkgs-lib": [
-
"nickel",
-
"nix-input",
-
"nixpkgs"
-
]
+
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
-
"lastModified": 1712014858,
-
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
+
"lastModified": 1749398372,
+
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
"owner": "hercules-ci",
"repo": "flake-parts",
-
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
+
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
"type": "github"
},
"original": {
···
"systems": "systems"
},
"locked": {
-
"lastModified": 1689068808,
-
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
-
"type": "github"
-
},
-
"original": {
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"type": "github"
-
}
-
},
-
"flake-utils_2": {
-
"inputs": {
-
"systems": "systems_2"
-
},
-
"locked": {
-
"lastModified": 1710146030,
-
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+
"lastModified": 1731533236,
+
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
-
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
···
"type": "github"
}
},
-
"flake-utils_3": {
+
"git-hooks": {
"inputs": {
-
"systems": "systems_3"
+
"flake-compat": [
+
"devenv"
+
],
+
"gitignore": "gitignore",
+
"nixpkgs": [
+
"devenv",
+
"nixpkgs"
+
]
},
"locked": {
-
"lastModified": 1710146030,
-
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+
"lastModified": 1746537231,
+
"narHash": "sha256-Wb2xeSyOsCoTCTj7LOoD6cdKLEROyFAArnYoS+noCWo=",
+
"owner": "cachix",
+
"repo": "git-hooks.nix",
+
"rev": "fa466640195d38ec97cf0493d6d6882bc4d14969",
"type": "github"
},
"original": {
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"type": "github"
-
}
-
},
-
"flake-utils_4": {
-
"locked": {
-
"lastModified": 1667395993,
-
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
-
"type": "github"
-
},
-
"original": {
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"type": "github"
-
}
-
},
-
"flake-utils_5": {
-
"inputs": {
-
"systems": "systems_4"
-
},
-
"locked": {
-
"lastModified": 1710146030,
-
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
-
"type": "github"
-
},
-
"original": {
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"type": "github"
-
}
-
},
-
"flake-utils_6": {
-
"inputs": {
-
"systems": "systems_5"
-
},
-
"locked": {
-
"lastModified": 1705309234,
-
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
-
"owner": "numtide",
-
"repo": "flake-utils",
-
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
-
"type": "github"
-
},
-
"original": {
-
"owner": "numtide",
-
"repo": "flake-utils",
+
"owner": "cachix",
+
"repo": "git-hooks.nix",
"type": "github"
}
},
···
"inputs": {
"nixpkgs": [
"devenv",
-
"pre-commit-hooks",
+
"git-hooks",
"nixpkgs"
]
},
···
"nickel": {
"inputs": {
"crane": "crane",
-
"flake-utils": "flake-utils_3",
-
"nix-input": "nix-input",
+
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_4",
-
"pre-commit-hooks": "pre-commit-hooks_3",
-
"rust-overlay": "rust-overlay",
-
"topiary": "topiary"
+
"pre-commit-hooks": "pre-commit-hooks",
+
"rust-overlay": "rust-overlay"
},
"locked": {
-
"lastModified": 1718098394,
-
"narHash": "sha256-EwiZg0iyF9EQ0Z65Re5WgeV7xgs/wPtTQ9XA0iEMEIQ=",
+
"lastModified": 1749052401,
+
"narHash": "sha256-iKLjYE4uT+luIRXjEuO7KjgkO+/jFpLjhCI5tO7TVMM=",
"owner": "tweag",
"repo": "nickel",
-
"rev": "af99d716c97d2b481fb43c041cee3108a63d4617",
+
"rev": "11fba5486e2e9ee35f4a2e661627e8b08e2b9a14",
"type": "github"
},
"original": {
···
},
"nix": {
"inputs": {
-
"flake-compat": "flake-compat",
-
"nixpkgs": [
-
"devenv",
-
"cachix",
-
"devenv",
-
"nixpkgs"
+
"flake-compat": [
+
"devenv"
],
-
"nixpkgs-regression": "nixpkgs-regression"
-
},
-
"locked": {
-
"lastModified": 1712911606,
-
"narHash": "sha256-BGvBhepCufsjcUkXnEEXhEVjwdJAwPglCC2+bInc794=",
-
"owner": "domenkozar",
-
"repo": "nix",
-
"rev": "b24a9318ea3f3600c1e24b4a00691ee912d4de12",
-
"type": "github"
-
},
-
"original": {
-
"owner": "domenkozar",
-
"ref": "devenv-2.21",
-
"repo": "nix",
-
"type": "github"
-
}
-
},
-
"nix-filter": {
-
"locked": {
-
"lastModified": 1710156097,
-
"narHash": "sha256-1Wvk8UP7PXdf8bCCaEoMnOT1qe5/Duqgj+rL8sRQsSM=",
-
"owner": "numtide",
-
"repo": "nix-filter",
-
"rev": "3342559a24e85fc164b295c3444e8a139924675b",
-
"type": "github"
-
},
-
"original": {
-
"owner": "numtide",
-
"repo": "nix-filter",
-
"type": "github"
-
}
-
},
-
"nix-github-actions": {
-
"inputs": {
-
"nixpkgs": [
-
"devenv",
-
"cachix",
-
"devenv",
-
"poetry2nix",
-
"nixpkgs"
-
]
-
},
-
"locked": {
-
"lastModified": 1688870561,
-
"narHash": "sha256-4UYkifnPEw1nAzqqPOTL2MvWtm3sNGw1UTYTalkTcGY=",
-
"owner": "nix-community",
-
"repo": "nix-github-actions",
-
"rev": "165b1650b753316aa7f1787f3005a8d2da0f5301",
-
"type": "github"
-
},
-
"original": {
-
"owner": "nix-community",
-
"repo": "nix-github-actions",
-
"type": "github"
-
}
-
},
-
"nix-input": {
-
"inputs": {
-
"flake-compat": "flake-compat_3",
-
"flake-parts": "flake-parts_2",
+
"flake-parts": "flake-parts",
"libgit2": "libgit2",
-
"nixpkgs": "nixpkgs_3",
-
"nixpkgs-23-11": "nixpkgs-23-11",
-
"nixpkgs-regression": "nixpkgs-regression_3",
-
"pre-commit-hooks": "pre-commit-hooks_2"
-
},
-
"locked": {
-
"lastModified": 1717862855,
-
"narHash": "sha256-DHM/6HZsuJO+k32vBfPzzhEwgMVpYdHiMD5r6qoCk9k=",
-
"owner": "nixos",
-
"repo": "nix",
-
"rev": "0ab9369572f64b1ab70a8db29f79ae730ff31ab6",
-
"type": "github"
-
},
-
"original": {
-
"owner": "nixos",
-
"repo": "nix",
-
"type": "github"
-
}
-
},
-
"nix_2": {
-
"inputs": {
-
"flake-compat": [
-
"devenv",
-
"flake-compat"
+
"nixpkgs": "nixpkgs_2",
+
"nixpkgs-23-11": [
+
"devenv"
],
-
"nixpkgs": [
-
"devenv",
-
"nixpkgs"
+
"nixpkgs-regression": [
+
"devenv"
],
-
"nixpkgs-regression": "nixpkgs-regression_2"
+
"pre-commit-hooks": [
+
"devenv"
+
]
},
"locked": {
-
"lastModified": 1712911606,
-
"narHash": "sha256-BGvBhepCufsjcUkXnEEXhEVjwdJAwPglCC2+bInc794=",
+
"lastModified": 1745930071,
+
"narHash": "sha256-bYyjarS3qSNqxfgc89IoVz8cAFDkF9yPE63EJr+h50s=",
"owner": "domenkozar",
"repo": "nix",
-
"rev": "b24a9318ea3f3600c1e24b4a00691ee912d4de12",
+
"rev": "b455edf3505f1bf0172b39a735caef94687d0d9c",
"type": "github"
},
"original": {
"owner": "domenkozar",
-
"ref": "devenv-2.21",
+
"ref": "devenv-2.24",
"repo": "nix",
"type": "github"
}
},
"nixpkgs": {
"locked": {
-
"lastModified": 1692808169,
-
"narHash": "sha256-x9Opq06rIiwdwGeK2Ykj69dNc2IvUH1fY55Wm7atwrE=",
+
"lastModified": 1733212471,
+
"narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "9201b5ff357e781bf014d0330d18555695df7ba8",
+
"rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"type": "github"
},
"original": {
"owner": "NixOS",
-
"ref": "nixpkgs-unstable",
+
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
-
"nixpkgs-23-11": {
-
"locked": {
-
"lastModified": 1717159533,
-
"narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=",
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
-
"type": "github"
-
},
-
"original": {
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
-
"type": "github"
-
}
-
},
"nixpkgs-lib": {
"locked": {
-
"lastModified": 1722555339,
-
"narHash": "sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q=",
-
"type": "tarball",
-
"url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz"
-
},
-
"original": {
-
"type": "tarball",
-
"url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz"
-
}
-
},
-
"nixpkgs-regression": {
-
"locked": {
-
"lastModified": 1643052045,
-
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
-
"type": "github"
-
},
-
"original": {
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
-
"type": "github"
-
}
-
},
-
"nixpkgs-regression_2": {
-
"locked": {
-
"lastModified": 1643052045,
-
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
-
"type": "github"
-
},
-
"original": {
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
-
"type": "github"
-
}
-
},
-
"nixpkgs-regression_3": {
-
"locked": {
-
"lastModified": 1643052045,
-
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
-
"type": "github"
-
},
-
"original": {
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
-
"type": "github"
-
}
-
},
-
"nixpkgs-stable": {
-
"locked": {
-
"lastModified": 1710695816,
-
"narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=",
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "614b4613980a522ba49f0d194531beddbb7220d3",
+
"lastModified": 1748740939,
+
"narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=",
+
"owner": "nix-community",
+
"repo": "nixpkgs.lib",
+
"rev": "656a64127e9d791a334452c6b6606d17539476e2",
"type": "github"
},
"original": {
-
"owner": "NixOS",
-
"ref": "nixos-23.11",
-
"repo": "nixpkgs",
+
"owner": "nix-community",
+
"repo": "nixpkgs.lib",
"type": "github"
}
},
-
"nixpkgs-stable_2": {
+
"nixpkgs_2": {
"locked": {
-
"lastModified": 1710695816,
-
"narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=",
+
"lastModified": 1717432640,
+
"narHash": "sha256-+f9c4/ZX5MWDOuB1rKoWj+lBNm0z0rs4CK47HBLxy1o=",
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "614b4613980a522ba49f0d194531beddbb7220d3",
+
"rev": "88269ab3044128b7c2f4c7d68448b2fb50456870",
"type": "github"
},
"original": {
"owner": "NixOS",
-
"ref": "nixos-23.11",
+
"ref": "release-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
-
"nixpkgs_2": {
+
"nixpkgs_3": {
"locked": {
-
"lastModified": 1713361204,
-
"narHash": "sha256-TA6EDunWTkc5FvDCqU3W2T3SFn0gRZqh6D/hJnM02MM=",
+
"lastModified": 1746807397,
+
"narHash": "sha256-zU2z0jlkJGWLhdNr/8AJSxqK8XD0IlQgHp3VZcP56Aw=",
"owner": "cachix",
"repo": "devenv-nixpkgs",
-
"rev": "285676e87ad9f0ca23d8714a6ab61e7e027020c6",
+
"rev": "c5208b594838ea8e6cca5997fbf784b7cca1ca90",
"type": "github"
},
"original": {
···
"type": "github"
}
},
-
"nixpkgs_3": {
-
"locked": {
-
"lastModified": 1717432640,
-
"narHash": "sha256-+f9c4/ZX5MWDOuB1rKoWj+lBNm0z0rs4CK47HBLxy1o=",
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "88269ab3044128b7c2f4c7d68448b2fb50456870",
-
"type": "github"
-
},
-
"original": {
-
"owner": "NixOS",
-
"ref": "release-24.05",
-
"repo": "nixpkgs",
-
"type": "github"
-
}
-
},
"nixpkgs_4": {
"locked": {
-
"lastModified": 1717786204,
-
"narHash": "sha256-4q0s6m0GUcN7q+Y2DqD27iLvbcd1G50T2lv08kKxkSI=",
-
"owner": "NixOS",
+
"lastModified": 1746663147,
+
"narHash": "sha256-Ua0drDHawlzNqJnclTJGf87dBmaO/tn7iZ+TCkTRpRc=",
+
"owner": "nixos",
"repo": "nixpkgs",
-
"rev": "051f920625ab5aabe37c920346e3e69d7d34400e",
+
"rev": "dda3dcd3fe03e991015e9a74b22d35950f264a54",
"type": "github"
},
"original": {
-
"id": "nixpkgs",
+
"owner": "nixos",
"ref": "nixos-unstable",
-
"type": "indirect"
-
}
-
},
-
"nixpkgs_5": {
-
"locked": {
-
"lastModified": 1706487304,
-
"narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=",
-
"owner": "NixOS",
-
"repo": "nixpkgs",
-
"rev": "90f456026d284c22b3e3497be980b2e47d0b28ac",
-
"type": "github"
-
},
-
"original": {
-
"owner": "NixOS",
-
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
-
"nixpkgs_6": {
+
"nixpkgs_5": {
"locked": {
-
"lastModified": 1723603349,
-
"narHash": "sha256-VMg6N7MryOuvSJ8Sj6YydarnUCkL7cvMdrMcnsJnJCE=",
-
"path": "/nix/store/qp204s0cpzbhj9yd5vpy7cpa9wxca0f9-source",
-
"rev": "daf7bb95821b789db24fc1ac21f613db0c1bf2cb",
+
"lastModified": 0,
+
"narHash": "sha256-MmJvj6mlWzeRwKGLcwmZpKaOPZ5nJb/6al5CXqJsgjo=",
+
"path": "/nix/store/ad1fkqvkbxhap0gpb688bgrad221lgwj-source",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
-
}
-
},
-
"poetry2nix": {
-
"inputs": {
-
"flake-utils": "flake-utils",
-
"nix-github-actions": "nix-github-actions",
-
"nixpkgs": [
-
"devenv",
-
"cachix",
-
"devenv",
-
"nixpkgs"
-
]
-
},
-
"locked": {
-
"lastModified": 1692876271,
-
"narHash": "sha256-IXfZEkI0Mal5y1jr6IRWMqK8GW2/f28xJenZIPQqkY0=",
-
"owner": "nix-community",
-
"repo": "poetry2nix",
-
"rev": "d5006be9c2c2417dafb2e2e5034d83fabd207ee3",
-
"type": "github"
-
},
-
"original": {
-
"owner": "nix-community",
-
"repo": "poetry2nix",
-
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
-
"flake-compat": [
-
"devenv",
-
"flake-compat"
-
],
-
"flake-utils": "flake-utils_2",
-
"gitignore": "gitignore",
-
"nixpkgs": [
-
"devenv",
-
"nixpkgs"
-
],
-
"nixpkgs-stable": "nixpkgs-stable"
-
},
-
"locked": {
-
"lastModified": 1713775815,
-
"narHash": "sha256-Wu9cdYTnGQQwtT20QQMg7jzkANKQjwBD9iccfGKkfls=",
-
"owner": "cachix",
-
"repo": "pre-commit-hooks.nix",
-
"rev": "2ac4dcbf55ed43f3be0bae15e181f08a57af24a4",
-
"type": "github"
-
},
-
"original": {
-
"owner": "cachix",
-
"repo": "pre-commit-hooks.nix",
-
"type": "github"
-
}
-
},
-
"pre-commit-hooks_2": {
-
"inputs": {
-
"flake-compat": [
-
"nickel",
-
"nix-input"
-
],
-
"flake-utils": "flake-utils_4",
-
"gitignore": [
-
"nickel",
-
"nix-input"
-
],
+
"flake-compat": "flake-compat_2",
+
"gitignore": "gitignore_2",
"nixpkgs": [
"nickel",
-
"nix-input",
-
"nixpkgs"
-
],
-
"nixpkgs-stable": [
-
"nickel",
-
"nix-input",
"nixpkgs"
]
},
"locked": {
-
"lastModified": 1712897695,
-
"narHash": "sha256-nMirxrGteNAl9sWiOhoN5tIHyjBbVi5e2tgZUgZlK3Y=",
+
"lastModified": 1746537231,
+
"narHash": "sha256-Wb2xeSyOsCoTCTj7LOoD6cdKLEROyFAArnYoS+noCWo=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
-
"rev": "40e6053ecb65fcbf12863338a6dcefb3f55f1bf8",
-
"type": "github"
-
},
-
"original": {
-
"owner": "cachix",
-
"repo": "pre-commit-hooks.nix",
-
"type": "github"
-
}
-
},
-
"pre-commit-hooks_3": {
-
"inputs": {
-
"flake-compat": "flake-compat_4",
-
"gitignore": "gitignore_2",
-
"nixpkgs": [
-
"nickel",
-
"nixpkgs"
-
],
-
"nixpkgs-stable": "nixpkgs-stable_2"
-
},
-
"locked": {
-
"lastModified": 1717664902,
-
"narHash": "sha256-7XfBuLULizXjXfBYy/VV+SpYMHreNRHk9nKMsm1bgb4=",
-
"owner": "cachix",
-
"repo": "pre-commit-hooks.nix",
-
"rev": "cc4d466cb1254af050ff7bdf47f6d404a7c646d1",
+
"rev": "fa466640195d38ec97cf0493d6d6882bc4d14969",
"type": "github"
},
"original": {
···
"inputs": {
"devenv": "devenv",
"fenix": "fenix",
-
"flake-parts": "flake-parts",
+
"flake-parts": "flake-parts_2",
"nickel": "nickel",
-
"nixpkgs": "nixpkgs_6",
-
"systems": "systems_6"
+
"nixpkgs": "nixpkgs_5",
+
"systems": "systems_2"
}
},
"rust-analyzer-src": {
"flake": false,
"locked": {
-
"lastModified": 1723648323,
-
"narHash": "sha256-AT6K9JREduWC1zcIJIx8JTZa4sYZD6VvyB/xRnjphqY=",
+
"lastModified": 1749493129,
+
"narHash": "sha256-nQ+gKRLXkl7gLY836ULyAwR3O0E/+vakZt78OQ+p9Fc=",
"owner": "rust-lang",
"repo": "rust-analyzer",
-
"rev": "64a140527b383e3a2fe95908881624fc5374c60c",
+
"rev": "bf6d44581085bb9b6e285902a7fae77325703171",
"type": "github"
},
"original": {
···
},
"rust-overlay": {
"inputs": {
-
"flake-utils": [
-
"nickel",
-
"flake-utils"
-
],
"nixpkgs": [
"nickel",
"nixpkgs"
]
},
"locked": {
-
"lastModified": 1717813066,
-
"narHash": "sha256-wqbRwq3i7g5EHIui0bIi84mdqZ/It1AXBSLJ5tafD28=",
-
"owner": "oxalica",
-
"repo": "rust-overlay",
-
"rev": "6dc3e45fe4aee36efeed24d64fc68b1f989d5465",
-
"type": "github"
-
},
-
"original": {
-
"owner": "oxalica",
-
"repo": "rust-overlay",
-
"type": "github"
-
}
-
},
-
"rust-overlay_2": {
-
"inputs": {
-
"flake-utils": "flake-utils_6",
-
"nixpkgs": "nixpkgs_5"
-
},
-
"locked": {
-
"lastModified": 1715739484,
-
"narHash": "sha256-5zlSuCM54jH6tXi8OILZ7opT+lBYUkGU9eOMEvJh9HU=",
+
"lastModified": 1746844454,
+
"narHash": "sha256-GcUWDQUDRYrD34ol90KGUpjbVcOfUNbv0s955jPecko=",
"owner": "oxalica",
"repo": "rust-overlay",
-
"rev": "3d27c65641a61d36f1c7616d6150524cd9a2a5f7",
+
"rev": "be092436d4c0c303b654e4007453b69c0e33009e",
"type": "github"
},
"original": {
···
"original": {
"owner": "nix-systems",
"repo": "default",
-
"type": "github"
-
}
-
},
-
"systems_3": {
-
"locked": {
-
"lastModified": 1681028828,
-
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
-
"owner": "nix-systems",
-
"repo": "default",
-
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
-
"type": "github"
-
},
-
"original": {
-
"owner": "nix-systems",
-
"repo": "default",
-
"type": "github"
-
}
-
},
-
"systems_4": {
-
"locked": {
-
"lastModified": 1681028828,
-
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
-
"owner": "nix-systems",
-
"repo": "default",
-
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
-
"type": "github"
-
},
-
"original": {
-
"owner": "nix-systems",
-
"repo": "default",
-
"type": "github"
-
}
-
},
-
"systems_5": {
-
"locked": {
-
"lastModified": 1681028828,
-
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
-
"owner": "nix-systems",
-
"repo": "default",
-
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
-
"type": "github"
-
},
-
"original": {
-
"owner": "nix-systems",
-
"repo": "default",
-
"type": "github"
-
}
-
},
-
"systems_6": {
-
"locked": {
-
"lastModified": 1681028828,
-
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
-
"owner": "nix-systems",
-
"repo": "default",
-
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
-
"type": "github"
-
},
-
"original": {
-
"owner": "nix-systems",
-
"repo": "default",
-
"type": "github"
-
}
-
},
-
"topiary": {
-
"inputs": {
-
"advisory-db": "advisory-db",
-
"crane": "crane_2",
-
"flake-utils": "flake-utils_5",
-
"nix-filter": "nix-filter",
-
"nixpkgs": [
-
"nickel",
-
"nixpkgs"
-
],
-
"rust-overlay": "rust-overlay_2"
-
},
-
"locked": {
-
"lastModified": 1717691046,
-
"narHash": "sha256-bVDoatFPN7NRuAf4URTFNrYVU7phz2vJpROmnVmqvfw=",
-
"owner": "tweag",
-
"repo": "topiary",
-
"rev": "1f11babe0d037cd84f8d909129dce497323f1e49",
-
"type": "github"
-
},
-
"original": {
-
"owner": "tweag",
-
"repo": "topiary",
"type": "github"
}
}
+96
ptsd.ncl
···
+
# SPDX-FileCopyrightText: 2024 Łukasz Niemier <#@hauleth.dev>
+
#
+
# SPDX-License-Identifier: EUPL-1.2
+
let Action = [|
+
'script String,
+
'move String,
+
'echo String,
+
'trash
+
|]
+
in
+
let NameMatch = [| 'exact String, 'wildcard String, 'regex String |] in
+
let FileType = [| 'dir, 'file, 'symlink |] in
+
let ContentMatch = [|
+
'mime String,
+
'magic {
+
offset | Number = 0,
+
bytes | (Array Number),
+
}
+
|]
+
in
+
let rec Filter = [|
+
'name NameMatch,
+
'file_type FileType,
+
'size [| 'less Number, 'equal Number, 'greater Number |],
+
'content_type ContentMatch,
+
'any (Array Filter),
+
'all (Array Filter),
+
'not Filter,
+
|]
+
in
+
{
+
Job = {
+
location
+
| String
+
| doc "Location that will be traversed for patterns",
+
filter
+
| Filter
+
| doc "File filters",
+
actions
+
| Array Action
+
| doc "Actions that should be applied to entry that matches pattern"
+
},
+
+
build | (Array Job) -> Dyn
+
=
+
let actionMatcher = match {
+
'script path => { script = path },
+
'move path => { move = path },
+
'echo msg => { echo = msg },
+
'trash => "trash",
+
}
+
in
+
let nameMatcher = match {
+
'exact val => { exact = val },
+
'wildcard val => { wildcard = val },
+
'regex val => { regex = val },
+
}
+
in
+
let rec filterMapper = match {
+
'name name => { type = "name" } & (nameMatcher name),
+
'file_type type => { type = "file_type", is = type },
+
'content_type type =>
+
type
+
|> match {
+
'mime mime => { type = "content_type", mime = mime },
+
'magic bytes => { type = "content_type", magic = bytes },
+
},
+
'size pred =>
+
let { tag, arg } = std.enum.to_tag_and_arg pred
+
in
+
{
+
type = "size",
+
size = arg,
+
ordering = tag,
+
},
+
'all allFilters =>
+
{
+
type = "all",
+
filters = std.array.map filterMapper allFilters
+
},
+
'any anyFilter =>
+
{
+
type = "any",
+
filters = std.array.map filterMapper anyFilter
+
},
+
}
+
in
+
let jobMapper = fun job =>
+
{
+
location = job.location,
+
filter = filterMapper job.filter,
+
actions = std.array.map actionMatcher job.actions,
+
}
+
in
+
std.array.map jobMapper
+
}