Skip to content

Commit

Permalink
Replace dotenv crate with dotenvy
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Dec 12, 2024
1 parent f05709e commit 09b0f82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 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 daemon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ clap = { version = "4", features = ["derive"] }
diesel = { version = "2", features = ["sqlite", "r2d2", "chrono", "i-implement-a-third-party-backend-and-opt-into-breaking-changes"] }
diesel_migrations = { version = "2", features = ["sqlite"] }
dirs-next = "2.0.0"
dotenv = "0.15.0"
dotenvy = "0.15.0"
env_logger = "0.11"
log = "0.4.17"
rand = "0.8.5"
Expand Down
2 changes: 1 addition & 1 deletion daemon/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async fn main() -> Result<()> {
env_logger::init_from_env(Env::default()
.default_filter_or(logging));

dotenv::dotenv().ok();
dotenvy::dotenv().ok();
let config = config::load(args.config.as_deref())?;
if args.check_config {
println!("{:#?}", config);
Expand Down

0 comments on commit 09b0f82

Please sign in to comment.