timeout-macro

Crates.iotimeout-macro
lib.rstimeout-macro
version0.10.0
sourcesrc
created_at2024-09-10 15:49:51.779505
updated_at2024-09-10 15:49:51.779505
descriptionmodio-logger Dbus service
homepage
repositoryhttps://gitlab.com/ModioAB/modio-logger/
max_upload_size
id1370530
size3,326
Spindel Ljungmark (Spindel)

documentation

README

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
    }
Commit count: 389

cargo fmt