Use dotenvy in main

This commit is contained in:
B. Blechschmidt 2023-03-23 13:28:05 +01:00
parent 4260e28a52
commit 5ce3637bde
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ version = "0.1.1"
[dependencies]
base64 = { version = "0.21" }
clap = { version = "4.1", features = ["derive"] }
dotenvy = "0.15"
env_logger = "0.10"
log = "0.4"
mio = { version = "0.8", features = ["os-poll", "net", "os-ext"] }
@ -15,7 +16,6 @@ url = "2.3"
[dev-dependencies]
ctor = "0.1"
dotenvy = "0.15"
fork = "0.1"
nix = { version = "0.26", features = ["process", "signal"] }
prctl = "1.0"

View file

@ -21,6 +21,7 @@ struct Args {
}
fn main() {
dotenvy::dotenv().ok();
env_logger::Builder::from_env(Env::default().default_filter_or("info")).init();
let args = Args::parse();