split-async 0.1.1

A procedural macro to generate sync and async versions of a function
Documentation
1
2
3
4
5
6
7
8
use split_async::split;

#[split]
async fn func(x: usize) -> usize {
    fn nested() {
        let deep = async { async || {} };
    }
}