Expand description
§future-runner
A lightweight crate for executing Rust futures on different target platforms.
§Features
- Cross-platform future execution support (native and WASM)
- Configurable blocking/non-blocking execution via features
- Simple API with a single
run_future
function
§Usage
use future_runner::run_future;
async fn my_async_task() {
// Your async code here
}
fn main() {
run_future(my_async_task());
}