1 unstable release
0.10.0 | Sep 10, 2024 |
---|
#1072 in Procedural macros
77 downloads per month
Used in 2 crates
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
~193K SLoC