future_fn/
lib.rs

1//! future-fn
2//!
3//! A Rust library providing macros to simplify the creation of
4//! asynchronous closures with external state captured by move.
5//! Useful for structuring asynchronous code with ease and clarity.
6
7mod r#macro;
8#[cfg(test)]
9mod test;
10
11#[cfg(test)]
12use std::time::Duration;
13
14#[cfg(test)]
15use tokio::time::sleep;