Skip to content

Commit c317347

Browse files
committed
backend: dotenvy
1 parent 8410a04 commit c317347

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

Cargo.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ alloy = "1"
2424
uuid = "1"
2525
eyre = "0.6"
2626
derive_more = "2.0.1"
27+
dotenvy = "0.15.7"
2728

2829
[workspace.lints]
2930
rust.missing_debug_implementations = "warn"

crates/backend/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ serde.workspace = true
1717
uuid.workspace = true
1818
eyre.workspace = true
1919
derive_more.workspace = true
20+
dotenvy.workspace = true
2021

2122
axum = { version = "0.7", features = ["macros"] }
2223
axum-extra = { version = "0.9", features = ["typed-header"] }

crates/backend/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use tracing_subscriber::fmt;
1515

1616
#[tokio::main]
1717
async fn main() {
18+
dotenvy::dotenv().ok();
1819
// Initialize tracing
1920
tracing_subscriber::fmt::init();
2021

0 commit comments

Comments
 (0)