Crates.io | timeout-macro |
lib.rs | timeout-macro |
version | 0.10.0 |
source | src |
created_at | 2024-09-10 15:49:51.779505 |
updated_at | 2024-09-10 15:49:51.779505 |
description | modio-logger Dbus service |
homepage | |
repository | https://gitlab.com/ModioAB/modio-logger/ |
max_upload_size | |
id | 1370530 |
size | 3,326 |
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
}