winit-async 0.4.0

An async runtime based on the winit event loop.
Documentation
1
2
3
4
5
6
7
8
use winit_async::{Error, run_app};

fn main() -> Result<(), Error> {
    run_app(async {
        println!("Hello, world!");
        Ok(())
    })
}