settimeout-rs
Provides an implementation of std::future::Future trait to be ready at some point. Sometimes,
it is needed a std::future::Future trait instance for testing purpose in any async function.
Usage
Add this to your Cargo.toml:
[]
= "0.1.2"
Examples
Create a simple std::future::Future implementation:
use block_on;
use Duration;
use set_timeout;
async
Contributing
Your PRs and stars are always welcome.