Skip to content

Commit

Permalink
feat: Switch to dotenvy - a well maintained fork of the dotenv crate …
Browse files Browse the repository at this point in the history
…(unmaintained since 2019) (#100)
  • Loading branch information
apps4uco authored Sep 19, 2024
1 parent 390efec commit e79c066
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ readme= "README.md"
casbin = { version = "2.1.0", default-features = false }
sqlx = { version = "0.7", default-features = false, features = [ "macros" ] }
async-trait = "0.1.51"
dotenv = { version = "0.15.0", default-features = false }
dotenvy = { version = "0.15.0", default-features = false }
tokio = { version = "1.10.0", default-features = false, optional = true }
async-std = { version = "1.9.0", default-features = false, optional = true }

Expand Down
2 changes: 1 addition & 1 deletion src/adapter.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use async_trait::async_trait;
use casbin::{error::AdapterError, Adapter, Error as CasbinError, Filter, Model, Result};
use dotenv::dotenv;
use dotenvy::dotenv;
use std::sync::{
atomic::{AtomicBool, Ordering},
Arc,
Expand Down

0 comments on commit e79c066

Please sign in to comment.