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
7pub(crate) mod r#macro;
8
9#[cfg(test)]
10mod test;
11
12#[cfg(test)]
13pub(crate) use std::time::Duration;
14
15#[cfg(test)]
16pub(crate) use tokio::time::sleep;