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

View file

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