winit-runtime 0.2.0

Async winit runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Created on Thu Aug 17 2023
 *
 * Copyright (c) storycraft. Licensed under the MIT Licence.
 */

fn main() {
    // Spawn winit eventloop and run main task
    winit_runtime::run(async {
        println!("Hello async winit world!");
    })
    .unwrap();
}