wasm-bindgen-futures

Crates.iowasm-bindgen-futures
lib.rswasm-bindgen-futures
version0.4.54
created_at2018-08-13 21:35:58.500192+00
updated_at2025-09-24 15:09:50.79843+00
descriptionBridging the gap between Rust Futures and JavaScript Promises
homepagehttps://wasm-bindgen.github.io/wasm-bindgen/
repositoryhttps://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/futures
max_upload_size
id79331
size50,555
(daxpedda)

documentation

https://docs.rs/wasm-bindgen-futures

README

wasm-bindgen-futures

API Documentation

This crate bridges the gap between a Rust Future and a JavaScript Promise. It provides two conversions:

  1. From a JavaScript Promise into a Rust Future.
  2. From a Rust Future into a JavaScript Promise.

Additionally under the feature flag futures-core-03-stream there is experimental support for AsyncIterator to Stream conversion.

See the API documentation for more info.

Commit count: 4051

cargo fmt