From 989c310842adcf82c9fc724d3795f12ed6efee1f Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 28 Oct 2025 09:53:09 +0100 Subject: [PATCH 1/4] Bump version to 0.12.4 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 48dc20e..f7c59bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gcp_auth" -version = "0.12.3" +version = "0.12.4" edition = "2021" rust-version = "1.82" repository = "https://github.com/hrvolapeter/gcp_auth" From f991eb86aa58d0c0e088e57f2a1d916f887a5a75 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 28 Oct 2025 09:56:49 +0100 Subject: [PATCH 2/4] Use std::env::home_dir() instead of the home crate --- Cargo.toml | 1 - src/config_default_credentials.rs | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f7c59bb..02f33c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,6 @@ async-trait = "0.1" base64 = "0.22" bytes = "1" chrono = { version = "0.4.31", features = ["serde"] } -home = "0.5.5" http = "1" http-body-util = "0.1" hyper = { version = "1", default-features = false, features = ["client", "http1", "http2"] } diff --git a/src/config_default_credentials.rs b/src/config_default_credentials.rs index 4af9e49..208d64a 100644 --- a/src/config_default_credentials.rs +++ b/src/config_default_credentials.rs @@ -1,3 +1,5 @@ +#[cfg(target_family = "unix")] +use std::env; use std::path::PathBuf; use std::sync::Arc; @@ -110,7 +112,7 @@ struct RefreshRequest<'a> { #[cfg(target_family = "unix")] fn config_dir() -> Result { - let mut home = home::home_dir().ok_or(Error::Str("home directory not found"))?; + let mut home = env::home_dir().ok_or(Error::Str("home directory not found"))?; home.push(CONFIG_DIR); Ok(home) } From 1b362e3c0b9a4e33bfcfc89ebde4d2bcd784dae5 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 28 Oct 2025 09:58:51 +0100 Subject: [PATCH 3/4] Upgrade cargo-deny-action to v2 --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9438d64..8606396 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -48,4 +48,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: EmbarkStudios/cargo-deny-action@v1 + - uses: EmbarkStudios/cargo-deny-action@v2 From 043feaa1a58b995fe6e431cc37cbea2d19a68b7c Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 28 Oct 2025 10:00:21 +0100 Subject: [PATCH 4/4] Configure Dependabot to keep actions up to date --- .github/dependabot.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 92b560b..3da0c5a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,3 +6,8 @@ updates: interval: weekly time: "13:00" open-pull-requests-limit: 99 +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + time: "05:23"