.env file support

This commit is contained in:
ssrlive 2023-03-23 00:03:35 +08:00 committed by B. Blechschmidt
parent 3e33244e26
commit c82c610c4b
3 changed files with 4 additions and 0 deletions

View file

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