lustre-executor 0.2.0

A blazingly fast, minimal async executor with pluggable ID generation and I/O support.
Documentation
1
2
3
4
5
6
7
8
9
use lustre_executor::prelude::*;

fn main() {
    let mut executor = Executor::new().unwrap();
    executor.spawn(Task::new(async {
        println!("Hello from an async task!");
    }));
    executor.run();
}