Add env_logger to installer

Some libraries, namely nusb, produce debug logging that we might want to
access in the field.
This commit is contained in:
Sashanoraa
2025-05-20 01:13:38 -04:00
committed by Cooper Quintin
parent 90e2bddbbb
commit 6cb9a195ed
3 changed files with 68 additions and 3 deletions
+1
View File
@@ -8,6 +8,7 @@ anyhow = "1.0.98"
axum = "0.8.3"
bytes = "1.10.1"
clap = { version = "4.5.37", features = ["derive"] }
env_logger = "0.11.8"
hyper = "1.6.0"
hyper-util = "0.1.11"
md5 = "0.7.0"
+1
View File
@@ -68,6 +68,7 @@ struct Serial {
}
async fn run() -> Result<(), Error> {
env_logger::init();
let Args { command } = Args::parse();
match command {