From 888c0984a5d9006989774e5bd816a93f7b749b3f Mon Sep 17 00:00:00 2001 From: Ben Beasley Date: Mon, 10 Nov 2025 22:50:56 +0000 Subject: chore(deps): Update the directories dependency to 6.0.0 (#2982) Update the `directories` dependency to the latest and final version, 6.0.0. The SemVer-breaking change in `directories` 6 is just that `dirs-sys` is updated to 0.5, which, in turn, is just due to [updating some platform-specific dependencies](https://github.com/dirs-dev/dirs-sys-rs/compare/f369f0904bec9833572f24c988c7e48454173983...8bcd4aa2c35990d57a2cff2953793525fc42709c). There are therefore no API changes we need to worry about here. Note that (as for [`dirs`](https://github.com/dirs-dev/dirs-rs)) the [repository for `directories` is archived](https://github.com/dirs-dev/directories-rs), so it might be time to start thinking about a maintained alternative. ## Checks - [x] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [x] I have checked that there are no existing pull requests for the same thing --- Cargo.lock | 33 +++++---------------------------- Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 29 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8e9108ec..19c5a28a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1211,11 +1211,11 @@ dependencies = [ [[package]] name = "directories" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" +checksum = "16f5094c54661b38d03bd7e50df373292118db60b585c08a411c6d840017fe7d" dependencies = [ - "dirs-sys 0.4.1", + "dirs-sys", ] [[package]] @@ -1224,19 +1224,7 @@ version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ - "dirs-sys 0.5.0", -] - -[[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 0.4.6", - "windows-sys 0.48.0", + "dirs-sys", ] [[package]] @@ -1247,7 +1235,7 @@ checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", - "redox_users 0.5.2", + "redox_users", "windows-sys 0.61.0", ] @@ -3546,17 +3534,6 @@ dependencies = [ "bitflags 2.9.4", ] -[[package]] -name = "redox_users" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" -dependencies = [ - "getrandom 0.2.16", - "libredox", - "thiserror 1.0.69", -] - [[package]] name = "redox_users" version = "0.5.2" diff --git a/Cargo.toml b/Cargo.toml index c5eb6dae..0fa6d1d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ time = { version = "0.3.36", features = [ ] } clap = { version = "4.5.7", features = ["derive"] } config = { version = "0.15.8", default-features = false, features = ["toml"] } -directories = "5.0.1" +directories = "6.0.0" eyre = "0.6" fs-err = "3.1" interim = { version = "0.2.0", features = ["time_0_3"] } -- cgit v1.3.1