feat: switch to tokio rt
This commit is contained in:
parent
752b2f6d9f
commit
075ac1d379
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||||
|
|
Reference in a new issue