corona 0.4.3

Coroutine and Async/Await support for tokio-based futures
Documentation
1
2
3
4
5
6
7
8
9
use corona::prelude::*;

#[test]
fn bug_4_weird_stack_size_assert() {
    Coroutine::new()
        .stack_size(10_000)
        .run(|| {})
        .expect("failed")
}