From 5e81d85d7e8eeca1b6c86ea028353d7c55361961 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 14 Jun 2025 20:33:22 -1030 Subject: add note about current_thread to azalea readme --- azalea/examples/echo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea/examples/echo.rs') diff --git a/azalea/examples/echo.rs b/azalea/examples/echo.rs index 80b0cb15..09c3d5d3 100644 --- a/azalea/examples/echo.rs +++ b/azalea/examples/echo.rs @@ -2,7 +2,7 @@ use azalea::prelude::*; -#[tokio::main] +#[tokio::main(flavor = "current_thread")] async fn main() { let account = Account::offline("bot"); // or let account = Account::microsoft("email").await.unwrap(); -- cgit v1.2.3