From 38d67667d43c54aef2dd6fe02a40c9ebb2c80aa8 Mon Sep 17 00:00:00 2001 From: tottoto Date: Fri, 31 Jan 2025 21:24:32 +0900 Subject: [PATCH] chore: update to dirs 6 --- Cargo.lock | 27 +++++++++++++++++++-------- Cargo.toml | 2 +- crates/volta-core/Cargo.toml | 2 +- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d0065353c..c91e27724 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -432,23 +432,23 @@ dependencies = [ [[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]] @@ -781,6 +781,16 @@ version = "0.2.162" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398" +[[package]] +name = "libredox" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +dependencies = [ + "bitflags 2.4.1", + "libc", +] + [[package]] name = "linux-raw-sys" version = "0.4.14" @@ -1128,12 +1138,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" +checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b" dependencies = [ "getrandom", - "redox_syscall", + "libredox", + "thiserror 2.0.9", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index e4965e518..6d2a5f792 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ clap_complete = "4.5.41" mockito = { version = "0.31.1", optional = true } textwrap = "0.16.1" which = "7.0.1" -dirs = "5.0.1" +dirs = "6" volta-migrate = { path = "crates/volta-migrate" } [target.'cfg(windows)'.dependencies] diff --git a/crates/volta-core/Cargo.toml b/crates/volta-core/Cargo.toml index b615a4b13..131832d72 100644 --- a/crates/volta-core/Cargo.toml +++ b/crates/volta-core/Cargo.toml @@ -30,7 +30,7 @@ detect-indent = "0.1" envoy = "0.1.3" mockito = { version = "0.31.1", optional = true } regex = "1.11.1" -dirs = "5.0.1" +dirs = "6" # We manually configure the feature list here because 0.4.16 includes the # `oldtime` feature by default to avoid a breaking change. Additionally, using # the feature list explicitly lets us drop the `wasmbind` feature, which we do