Skip to content

Commit

Permalink
chore(deps): update rust crate dirs to v6 (dev) (#12372)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <[email protected]>
  • Loading branch information
renovate[bot] and FabianLars authored Jan 23, 2025
1 parent 9a30bed commit bf912b8
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 30 deletions.
49 changes: 30 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/tauri-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ json-patch = "3"
walkdir = "2"
tauri-winres = "0.2"
semver = "1"
dirs = "5"
dirs = "6"
glob = "0.3"
toml = "0.8"
# Our code requires at least 0.8.18 so don't simplify this to 0.8
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri-bundler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ walkdir = "2"
handlebars = "6"
tempfile = "3"
log = { version = "0.4.21", features = ["kv"] }
dirs = "5"
dirs = "6"
os_pipe = "1"
ureq = { version = "2", default-features = false, features = ["socks-proxy"] }
native-tls = { version = "0.2", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri-macos-sign/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ once-cell-regex = "0.2"
os_pipe = "1"
plist = "1"
rand = "0.8"
dirs-next = "2"
dirs = "6"
log = { version = "0.4.21", features = ["kv"] }
apple-codesign = "0.27"
chrono = "0.4"
Expand Down
3 changes: 1 addition & 2 deletions crates/tauri-macos-sign/src/keychain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ impl Keychain {
}

pub fn with_certificate_file(cert_path: &Path, certificate_password: &OsString) -> Result<Self> {
let home_dir =
dirs_next::home_dir().ok_or_else(|| anyhow::anyhow!("failed to resolve home dir"))?;
let home_dir = dirs::home_dir().ok_or_else(|| anyhow::anyhow!("failed to resolve home dir"))?;
let keychain_path = home_dir.join("Library").join("Keychains").join(format!(
"{}.keychain-db",
Alphanumeric.sample_string(&mut rand::thread_rng(), 16)
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri-macos-sign/src/provisioning_profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub struct ProvisioningProfile {

impl ProvisioningProfile {
pub fn from_base64(base64: &OsStr) -> Result<Self> {
let home_dir = dirs_next::home_dir().unwrap();
let home_dir = dirs::home_dir().unwrap();
let provisioning_profiles_folder = home_dir
.join("Library")
.join("MobileDevice")
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ tauri-runtime-wry = { version = "2.3.0", path = "../tauri-runtime-wry", optional
getrandom = "0.2"
serde_repr = "0.1"
http = "1"
dirs = "5"
dirs = "6"
percent-encoding = "2"
reqwest = { version = "0.12", default-features = false, features = [
"json",
Expand Down
4 changes: 0 additions & 4 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,6 @@ criteria = "safe-to-deploy"
version = "0.3.11"
criteria = "safe-to-deploy"

[[exemptions.dirs-next]]
version = "2.0.0"
criteria = "safe-to-deploy"

[[exemptions.dirs-sys-next]]
version = "0.1.2"
criteria = "safe-to-deploy"
Expand Down

0 comments on commit bf912b8

Please sign in to comment.