tokio_macros

Attribute Macro test_rt

source
#[test_rt]
Expand description

Marks async function to be executed by runtime, suitable to test environment

ยงUsage

#[tokio::test]
async fn my_test() {
    assert!(true);
}