mirror of
https://github.com/mikedilger/chorus.git
synced 2026-11-19 15:24:25 +00:00
depend on tokio, make main async
This commit is contained in:
1 parent
0ee79ce787
commit
d9a95fbfe0
3 files changed
+317
-1
No files matched your search
+2
-1
@@ -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(())
|
||||
|
||||
Reference in new issue
Block a user