async-attributes 1.1.2

Experimental language-level polyfills for Async Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use async_attributes::test;

#[async_attributes::test]
async fn test() -> std::io::Result<()> {
    assert_eq!(2 * 2, 4);
    Ok(())
}

#[test]
async fn aliased_test() -> std::io::Result<()> {
    assert!(true);
    Ok(())
}