hello_world/
hello_world.rs

1use archy::{App, Schedule, Shutdown};
2
3async fn hello_world(shutdown: Shutdown) {
4    println!("Hello, World!");
5    shutdown.trigger();
6}
7
8#[tokio::main]
9async fn main() {
10    let mut app = App::new();
11    app.add_system(Schedule::Run, hello_world);
12    app.run().await;
13}