1 unstable release

0.10.0 Sep 10, 2024

#1399 in Procedural macros


Used in 2 crates

AGPL-3.0-or-later

4KB

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
    }

Dependencies

~5–14MB
~189K SLoC