async-runtime 0.3.1

A priority-aware native async runtime for the smol ecosystem with host-driven local domains
Documentation
1
2
3
4
5
6
7
8
9
10
11
use async_runtime::LocalDomain;
use std::rc::Rc;

fn main() {
    let local = LocalDomain::new();
    let spawner = local.spawner();
    let captured = Rc::new(());
    let _ = spawner.spawn(async move {
        drop(captured);
    });
}