From 632966dca41d553706d7f76eab658c35c0d5cb6c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Oct 2023 22:09:50 +0200 Subject: [PATCH 01/11] deps: update chrono-humanize to v0.2 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 96f8c2c37..313427166 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -108,9 +108,9 @@ dependencies = [ [[package]] name = "chrono-humanize" -version = "0.1.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8164ae3089baf04ff71f32aeb70213283dcd236dce8bc976d00b17a458f5f71c" +checksum = "799627e6b4d27827a814e837b9d8a504832086081806d45b1afa34dc982b023b" dependencies = [ "chrono", ] diff --git a/Cargo.toml b/Cargo.toml index ad2dfc911..1a755faa2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ thiserror = "1.0" sys-locale = "0.2.4" once_cell = "1.17.1" chrono = { version = "0.4.*", features = ["unstable-locales"] } -chrono-humanize = "0.1.*" +chrono-humanize = "0.2" unicode-width = "0.1.*" lscolors = "0.15.0" wild = "2.0.*" From 834dbc12195d9608a2dddf5459adac23bb99077a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Oct 2023 22:11:02 +0200 Subject: [PATCH 02/11] deps: update assert_cmd to v2 --- Cargo.lock | 27 ++++++++++++++++++--------- Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 313427166..86750edcf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,11 +13,11 @@ dependencies = [ [[package]] name = "assert_cmd" -version = "1.0.8" +version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c98233c6673d8601ab23e77eb38f999c51100d46c5703b17288c57fddf3a1ffe" +checksum = "9834fcc22e0874394a010230586367d4a3e9f11b560f469262678547e1d2575e" dependencies = [ - "bstr", + "bstr 1.7.0", "doc-comment", "predicates 2.1.1", "predicates-core", @@ -66,9 +66,18 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" dependencies = [ - "lazy_static", + "memchr", +] + +[[package]] +name = "bstr" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c79ad7fb2dd38f3dabd76b09c6a5a20c038fc0213ef1e9afd30eb777f120f019" +dependencies = [ "memchr", "regex-automata", + "serde", ] [[package]] @@ -313,7 +322,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" dependencies = [ "aho-corasick", - "bstr", + "bstr 0.2.17", "fnv", "log", "regex", @@ -573,9 +582,9 @@ checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" [[package]] name = "memchr" -version = "2.4.1" +version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" +checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" [[package]] name = "mio" @@ -807,9 +816,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.1.10" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" [[package]] name = "regex-syntax" diff --git a/Cargo.toml b/Cargo.toml index 1a755faa2..fa8b46651 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,7 @@ features = ["derive", "wrap_help"] version = "4.1" [dev-dependencies] -assert_cmd = "1" +assert_cmd = "2" assert_fs = "1" predicates = "1.0.1" tempfile = "3" From 23e0944fd4a68ce188012eb96572a8c334caa113 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 3 Nov 2023 12:07:52 +0100 Subject: [PATCH 03/11] deps: update sys-locale to v0.3 --- Cargo.lock | 87 ++---------------------------------------------------- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 86 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 86750edcf..f98f7d971 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -80,12 +80,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bumpalo" -version = "3.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" - [[package]] name = "cc" version = "1.0.79" @@ -454,15 +448,6 @@ dependencies = [ "libc", ] -[[package]] -name = "js-sys" -version = "0.3.58" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3fac17f7123a73ca62df411b1bf727ccc805daa070338fda671c86dac1bdc27" -dependencies = [ - "wasm-bindgen", -] - [[package]] name = "lazy_static" version = "1.4.0" @@ -979,15 +964,11 @@ dependencies = [ [[package]] name = "sys-locale" -version = "0.2.4" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8a11bd9c338fdba09f7881ab41551932ad42e405f61d01e8406baea71c07aee" +checksum = "e801cf239ecd6ccd71f03d270d67dd53d13e90aab208bf4b8fe4ad957ea949b0" dependencies = [ - "js-sys", "libc", - "wasm-bindgen", - "web-sys", - "windows-sys 0.45.0", ] [[package]] @@ -1206,70 +1187,6 @@ 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.81" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c53b543413a17a202f4be280a7e5c62a1c69345f5de525ee64f8cfdbc954994" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.81" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5491a68ab4500fa6b4d726bd67408630c3dbe9c4fe7bda16d5c82a1fd8c7340a" -dependencies = [ - "bumpalo", - "lazy_static", - "log", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.81" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c441e177922bc58f1e12c022624b6216378e5febc2f0533e41ba443d505b80aa" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.81" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d94ac45fcf608c1f45ef53e748d35660f168490c10b23704c7779ab8f5c3048" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.81" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a89911bd99e5f3659ec4acf9c4d93b0a90fe4a2a11f15328472058edc5261be" - -[[package]] -name = "web-sys" -version = "0.3.58" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fed94beee57daf8dd7d51f2b15dc2bcde92d7a72304cdf662a4371008b71b90" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - [[package]] name = "wild" version = "2.0.4" diff --git a/Cargo.toml b/Cargo.toml index fa8b46651..d84ad4464 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ human-sort = "0.2.2" term_grid = "0.1.*" terminal_size = "0.1.*" thiserror = "1.0" -sys-locale = "0.2.4" +sys-locale = "0.3" once_cell = "1.17.1" chrono = { version = "0.4.*", features = ["unstable-locales"] } chrono-humanize = "0.2" From 8aae5c4e741e42840e43cab1933717a1242f6e54 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Oct 2023 22:16:32 +0200 Subject: [PATCH 04/11] deps: update vsort to v0.2 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f98f7d971..e44d108e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1151,9 +1151,9 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "vsort" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84afa8e70fb599a53474f4d83c085bd9e8848d02b7a774c6f39ebcebbbfddd16" +checksum = "11331a1b48f99ea6bb27faae41399d08783d055ddee131e1b1b70a854207ebf8" [[package]] name = "wait-timeout" diff --git a/Cargo.toml b/Cargo.toml index d84ad4464..9e8e4a9ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ yaml-rust = "0.4.*" serde = { version = "1.0", features = ["derive"] } serde_yaml = "0.8" url = "2.1.*" -vsort = "0.1.0" +vsort = "0.2" [target."cfg(not(all(windows, target_arch = \"x86\", target_env = \"gnu\")))".dependencies] # if ssl feature is enabled compilation will fail on arm-unknown-linux-gnueabihf and i686-pc-windows-gnu From 214ca6c704e0c80919d16412b120a079010ecb4b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Oct 2023 22:18:35 +0200 Subject: [PATCH 05/11] deps: update git2 to v0.18 --- Cargo.lock | 10 +++++----- Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e44d108e2..63518d53b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -292,11 +292,11 @@ dependencies = [ [[package]] name = "git2" -version = "0.16.1" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf7f68c2995f392c49fffb4f95ae2c873297830eb25c6bc4c114ce8f4562acc" +checksum = "fbf97ba92db08df386e10c8ede66a2a0369bd277090afd8710e19e38de9ec0cd" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.0", "libc", "libgit2-sys", "log", @@ -462,9 +462,9 @@ checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" [[package]] name = "libgit2-sys" -version = "0.14.2+1.5.1" +version = "0.16.1+1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f3d95f6b51075fe9810a7ae22c7095f12b98005ab364d8544797a825ce946a4" +checksum = "f2a2bb3680b094add03bb3732ec520ece34da31a8cd2d633d1389d0f0fb60d0c" dependencies = [ "cc", "libc", diff --git a/Cargo.toml b/Cargo.toml index 9e8e4a9ff..35cd3e43e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ vsort = "0.2" [target."cfg(not(all(windows, target_arch = \"x86\", target_env = \"gnu\")))".dependencies] # if ssl feature is enabled compilation will fail on arm-unknown-linux-gnueabihf and i686-pc-windows-gnu -git2 = { version = "0.16", optional = true, default-features = false } +git2 = { version = "0.18", optional = true, default-features = false } [target.'cfg(unix)'.dependencies] users = "0.11.*" From e3fe6451041184bd5ea0753ed626476a11d1291a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Oct 2023 22:19:56 +0200 Subject: [PATCH 06/11] deps: migrate from users to uzers --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 63518d53b..77d45d05d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -549,7 +549,7 @@ dependencies = [ "thiserror", "unicode-width", "url", - "users", + "uzers", "version_check", "vsort", "wild", @@ -1128,10 +1128,10 @@ dependencies = [ ] [[package]] -name = "users" -version = "0.11.0" +name = "uzers" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24cc0f6d6f267b73e5a2cadf007ba8f9bc39c6a6f9666f8cf25ea809a153b032" +checksum = "76d283dc7e8c901e79e32d077866eaf599156cbf427fffa8289aecc52c5c3f63" dependencies = [ "libc", "log", diff --git a/Cargo.toml b/Cargo.toml index 35cd3e43e..250ab9d5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ vsort = "0.2" git2 = { version = "0.18", optional = true, default-features = false } [target.'cfg(unix)'.dependencies] -users = "0.11.*" +users = { version = "0.11.3", package = "uzers" } xattr = "1" [target.'cfg(windows)'.dependencies] From 22b71a59e7a53491fafb945995b6e2782e8c758e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Oct 2023 22:21:32 +0200 Subject: [PATCH 07/11] deps: update serial_test to v2 --- Cargo.lock | 194 ++++++++++++++++++++++++++++++++++++++++++----------- Cargo.toml | 2 +- 2 files changed, 155 insertions(+), 41 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 77d45d05d..0668369b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -153,7 +153,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn", + "syn 1.0.89", ] [[package]] @@ -185,7 +185,7 @@ dependencies = [ "crossterm_winapi", "libc", "mio", - "parking_lot 0.12.1", + "parking_lot", "serde", "signal-hook", "signal-hook-mio", @@ -201,6 +201,17 @@ dependencies = [ "winapi", ] +[[package]] +name = "dashmap" +version = "5.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c8858831f7781322e539ea39e72449c46b059638250c14344fec8d0aa6e539c" +dependencies = [ + "cfg-if", + "num_cpus", + "parking_lot", +] + [[package]] name = "difference" version = "2.0.0" @@ -279,6 +290,83 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "futures" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" + +[[package]] +name = "futures-executor" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" + +[[package]] +name = "futures-sink" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" + +[[package]] +name = "futures-task" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" + +[[package]] +name = "futures-util" +version = "0.3.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + [[package]] name = "getrandom" version = "0.2.5" @@ -354,6 +442,12 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" + [[package]] name = "human-sort" version = "0.2.2" @@ -424,7 +518,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189" dependencies = [ - "hermit-abi", + "hermit-abi 0.2.6", "io-lifetimes", "rustix", "windows-sys 0.42.0", @@ -608,6 +702,16 @@ 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 0.3.3", + "libc", +] + [[package]] name = "once_cell" version = "1.17.1" @@ -620,17 +724,6 @@ version = "6.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.5", -] - [[package]] name = "parking_lot" version = "0.12.1" @@ -638,21 +731,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.3", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" -dependencies = [ - "cfg-if", - "instant", - "libc", - "redox_syscall", - "smallvec", - "winapi", + "parking_lot_core", ] [[package]] @@ -674,6 +753,18 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" +[[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 = "pkg-config" version = "0.3.26" @@ -729,7 +820,7 @@ dependencies = [ "proc-macro-error-attr", "proc-macro2", "quote", - "syn", + "syn 1.0.89", "version_check", ] @@ -761,9 +852,9 @@ checksum = "b45c49fc4f91f35bae654f85ebb3a44d60ac64f11b3166ffa609def390c732d8" [[package]] name = "quote" -version = "1.0.17" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -872,7 +963,7 @@ checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.89", ] [[package]] @@ -889,24 +980,27 @@ dependencies = [ [[package]] name = "serial_test" -version = "0.5.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0bccbcf40c8938196944a3da0e133e031a33f4d6b72db3bda3cc556e361905d" +checksum = "0e56dd856803e253c8f298af3f4d7eb0ae5e23a737252cd90bb4f3b435033b2d" dependencies = [ + "dashmap", + "futures", "lazy_static", - "parking_lot 0.11.2", + "log", + "parking_lot", "serial_test_derive", ] [[package]] name = "serial_test_derive" -version = "0.5.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2acd6defeddb41eb60bb468f8825d0cfd0c2a76bc03bfd235b6a1dc4f6a1ad5" +checksum = "91d129178576168c589c9ec973feedf7d3126c01ac2bf08795109aa35b69fb8f" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.38", ] [[package]] @@ -939,6 +1033,15 @@ 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.8.0" @@ -962,6 +1065,17 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "syn" +version = "2.0.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "sys-locale" version = "0.3.1" @@ -1046,7 +1160,7 @@ checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 1.0.89", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 250ab9d5d..6168b9c31 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ assert_cmd = "2" assert_fs = "1" predicates = "1.0.1" tempfile = "3" -serial_test = "0.5" +serial_test = "2.0" [features] default = ["git2"] From 3adcf47266dc3e5f379d752a33d9e07efd390bd2 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Oct 2023 22:21:54 +0200 Subject: [PATCH 08/11] deps: update predicates to v3 --- Cargo.lock | 47 +++++++++++++++++++++++++++++------------------ Cargo.toml | 2 +- 2 files changed, 30 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0668369b0..c2649ab06 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,6 +11,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "anstyle" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" + [[package]] name = "assert_cmd" version = "2.0.8" @@ -212,12 +218,6 @@ dependencies = [ "parking_lot", ] -[[package]] -name = "difference" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" - [[package]] name = "difflib" version = "0.4.0" @@ -277,9 +277,9 @@ dependencies = [ [[package]] name = "float-cmp" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1267f4ac4f343772758f7b1bdcbe767c218bbab93bb432acbf5162bbf85a6c4" +checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" dependencies = [ "num-traits", ] @@ -533,6 +533,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + [[package]] name = "jobserver" version = "0.1.26" @@ -632,7 +641,7 @@ dependencies = [ "libc", "lscolors", "once_cell", - "predicates 1.0.8", + "predicates 3.0.4", "serde", "serde_yaml", "serial_test", @@ -773,26 +782,28 @@ checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" [[package]] name = "predicates" -version = "1.0.8" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df" +checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c" dependencies = [ - "difference", - "float-cmp", - "normalize-line-endings", + "difflib", + "itertools 0.10.3", "predicates-core", - "regex", ] [[package]] name = "predicates" -version = "2.1.1" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c" +checksum = "6dfc28575c2e3f19cb3c73b93af36460ae898d426eba6fc15b9bd2a5220758a0" dependencies = [ + "anstyle", "difflib", - "itertools", + "float-cmp", + "itertools 0.11.0", + "normalize-line-endings", "predicates-core", + "regex", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 6168b9c31..69c6e2acc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,7 +61,7 @@ version = "4.1" [dev-dependencies] assert_cmd = "2" assert_fs = "1" -predicates = "1.0.1" +predicates = "3" tempfile = "3" serial_test = "2.0" From 90ac946b7d1d77dd95c9fae2cdae0bdad787a330 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Oct 2023 22:23:24 +0200 Subject: [PATCH 09/11] deps: allow newer versions of url, wild, and xdg crates --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 69c6e2acc..865cee4c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,13 +34,13 @@ chrono = { version = "0.4.*", features = ["unstable-locales"] } chrono-humanize = "0.2" unicode-width = "0.1.*" lscolors = "0.15.0" -wild = "2.0.*" +wild = "2.0" globset = "0.4.*" -xdg = "2.1.*" +xdg = "2.1" yaml-rust = "0.4.*" serde = { version = "1.0", features = ["derive"] } serde_yaml = "0.8" -url = "2.1.*" +url = "2.1" vsort = "0.2" [target."cfg(not(all(windows, target_arch = \"x86\", target_env = \"gnu\")))".dependencies] From c49cf201c48c5fd76dc25b2aa8b392b1704284ad Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 3 Nov 2023 12:09:37 +0100 Subject: [PATCH 10/11] set MSRV in Cargo.toml as well --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 865cee4c5..08cabcdca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ readme = "./README.md" repository = "https://github.com/lsd-rs/lsd" version = "1.0.0" edition = "2021" +rust-version = "1.69" [[bin]] name = "lsd" From f6dec60f03bd13e392a7ad70d50acf2a4c40d7ab Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 19 Dec 2023 13:46:23 +0100 Subject: [PATCH 11/11] bump MSRV to 1.70 --- .github/workflows/CICD.yml | 2 +- Cargo.toml | 2 +- build.rs | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index ccdefc27e..8313076b5 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -6,7 +6,7 @@ env: PROJECT_NAME: lsd PROJECT_DESC: "An ls command with a lot of pretty colors." PROJECT_AUTH: "Peltoche " - RUST_MIN_SRV: "1.69.0" + RUST_MIN_SRV: "1.70.0" on: [push, pull_request] diff --git a/Cargo.toml b/Cargo.toml index 08cabcdca..3c2ed4279 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ readme = "./README.md" repository = "https://github.com/lsd-rs/lsd" version = "1.0.0" edition = "2021" -rust-version = "1.69" +rust-version = "1.70" [[bin]] name = "lsd" diff --git a/build.rs b/build.rs index ac4da2e00..745d92665 100644 --- a/build.rs +++ b/build.rs @@ -15,12 +15,6 @@ use std::process::exit; include!("src/app.rs"); fn main() { - // rustc version too small or can't figure it out - if version_check::is_min_version("1.69.0") != Some(true) { - eprintln!("'lsd' requires rustc >= 1.69.0"); - exit(1); - } - let outdir = std::env::var_os("SHELL_COMPLETIONS_DIR") .or_else(|| std::env::var_os("OUT_DIR")) .unwrap_or_else(|| exit(0));