We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba52656 commit 5ddad1dCopy full SHA for 5ddad1d
Cargo.toml
@@ -14,7 +14,7 @@ name = "coduck-backend"
14
anyhow = "1.0"
15
axum = { version = "0.8.4", features = ["json", "multipart"] }
16
chrono = { version = "0.4.38", features = ["serde"] }
17
-dotenv = "0.15.0"
+dotenvy = "0.15.0"
18
git2 = "0.20.2"
19
serde = { version = "1.0.219", features = ["derive"] }
20
serde_json = "1.0.133"
src/lib.rs
@@ -18,7 +18,7 @@ async fn health_check() -> &'static str {
}
pub fn build_router() -> Router {
21
- dotenv::dotenv().ok();
+ dotenvy::dotenv().ok();
22
23
let upload_dir = std::env::var("UPLOAD_DIR").expect("UPLOAD_DIR must be set");
24
let upload_path = PathBuf::from(upload_dir);
0 commit comments