From 3388508141bbbfe97f978381e2878bd898ceaa6c Mon Sep 17 00:00:00 2001 From: Evan Cameron Date: Sun, 28 Feb 2021 22:09:46 -0500 Subject: [PATCH] use current_thread --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 7bddfaa5..6f04ac1f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -452,7 +452,7 @@ fn setup(args: &[String]) -> Setup { } } -#[tokio::main] +#[tokio::main(flavor = "current_thread")] async fn main() { if env::var("RUST_BACKTRACE").is_err() { env::set_var("RUST_BACKTRACE", "full")