Skip to content

Commit 5ddad1d

Browse files
fix: Replace dotenv with dotenvy (#53)
1 parent ba52656 commit 5ddad1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name = "coduck-backend"
1414
anyhow = "1.0"
1515
axum = { version = "0.8.4", features = ["json", "multipart"] }
1616
chrono = { version = "0.4.38", features = ["serde"] }
17-
dotenv = "0.15.0"
17+
dotenvy = "0.15.0"
1818
git2 = "0.20.2"
1919
serde = { version = "1.0.219", features = ["derive"] }
2020
serde_json = "1.0.133"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async fn health_check() -> &'static str {
1818
}
1919

2020
pub fn build_router() -> Router {
21-
dotenv::dotenv().ok();
21+
dotenvy::dotenv().ok();
2222

2323
let upload_dir = std::env::var("UPLOAD_DIR").expect("UPLOAD_DIR must be set");
2424
let upload_path = PathBuf::from(upload_dir);

0 commit comments

Comments
 (0)