From 319a7ab890fc5de54360260bf64f94eff3bda403 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 4 Jan 2024 03:40:59 +0100 Subject: [PATCH] fix: enable io and time on tokio rt --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index add7ced..0ee8489 100644 --- a/src/main.rs +++ b/src/main.rs @@ -161,6 +161,8 @@ async fn launch() { fn main() { tokio::runtime::Builder::new_current_thread() + .enable_time() + .enable_io() .build().expect("could not create tokio runtime") .block_on(async { launch().await