timeout-macro 0.10.0

modio-logger Dbus service
Documentation
1
2
3
4
5
6
7
8
9
10
11
# timeout macro

A small proc macro helper that runs test-cases in a timeout.

```
    #[test(timeouttest)]
    async fn slow_test() {
        let dur = Duration::from_secs(200);
        tokio.time.sleep(dur).await
    }
```