diff --git a/Cargo.lock b/Cargo.lock index b79de7d..d4c7c14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -532,10 +532,10 @@ dependencies = [ ] [[package]] -name = "dotenv" -version = "0.15.0" +name = "dotenvy" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" +checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" [[package]] name = "either" @@ -786,7 +786,7 @@ dependencies = [ [[package]] name = "gitnow" -version = "0.3.2" +version = "0.3.3" dependencies = [ "anyhow", "async-trait", @@ -794,7 +794,7 @@ dependencies = [ "clap", "crossterm", "dirs 5.0.1", - "dotenv", + "dotenvy", "futures", "gitea-client", "nucleo-matcher", @@ -2051,9 +2051,9 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustix" -version = "0.38.42" +version = "0.38.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" +checksum = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6" dependencies = [ "bitflags 2.6.0", "errno", diff --git a/Cargo.toml b/Cargo.toml index 4c94b9c..5392d2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,4 +12,4 @@ tokio = { version = "1", features = ["full"] } tracing = { version = "0.1", features = ["log"] } tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } clap = { version = "4", features = ["derive", "env"] } -dotenv = { version = "0.15" } +dotenvy = { version = "0.15.7" } diff --git a/crates/gitnow/Cargo.toml b/crates/gitnow/Cargo.toml index 22452c3..fee459a 100644 --- a/crates/gitnow/Cargo.toml +++ b/crates/gitnow/Cargo.toml @@ -17,7 +17,7 @@ tokio.workspace = true tracing.workspace = true tracing-subscriber.workspace = true clap.workspace = true -dotenv.workspace = true +dotenvy.workspace = true serde = { version = "1.0.197", features = ["derive"] } uuid = { version = "1.7.0", features = ["v4"] } diff --git a/crates/gitnow/src/main.rs b/crates/gitnow/src/main.rs index 7939011..9a596fd 100644 --- a/crates/gitnow/src/main.rs +++ b/crates/gitnow/src/main.rs @@ -57,7 +57,7 @@ const DEFAULT_CONFIG_PATH: &str = ".config/gitnow/gitnow.toml"; #[tokio::main] async fn main() -> anyhow::Result<()> { - dotenv::dotenv().ok(); + dotenvy::dotenv().ok(); tracing_subscriber::fmt() .with_env_filter( EnvFilter::builder()