depend on tokio, make main async

This commit is contained in:
Mike Dilger committed 2024-02-15 09:13:35 +13:00
1 parent 0ee79ce787
commit d9a95fbfe0
3 files changed
+317 -1

No files matched your search

+2 -1
View File
@@ -2,7 +2,8 @@ pub mod error;
use crate::error::Error;
fn main() -> Result<(), Error> {
#[tokio::main]
async fn main() -> Result<(), Error> {
println!("No main yet.");
Ok(())