feat: switch to tokio rt

This commit is contained in:
Aravinth Manivannan 2023-08-04 12:55:11 +05:30
parent 752b2f6d9f
commit 075ac1d379
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 2 additions and 3 deletions

View File

@ -6,15 +6,14 @@ mod avg;
mod cli;
mod db;
mod diff;
mod print;
mod gen;
mod migrate_pg;
mod print;
mod utils;
pub(crate) use gen::Log;
#[actix_rt::main]
#[tokio::main]
async fn main() {
std::env::set_var("RUST_LOG", "INFO");
pretty_env_logger::init();