Crates.io | wasm-bindgen-futures |
lib.rs | wasm-bindgen-futures |
version | 0.4.54 |
created_at | 2018-08-13 21:35:58.500192+00 |
updated_at | 2025-09-24 15:09:50.79843+00 |
description | Bridging the gap between Rust Futures and JavaScript Promises |
homepage | https://wasm-bindgen.github.io/wasm-bindgen/ |
repository | https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/futures |
max_upload_size | |
id | 79331 |
size | 50,555 |
wasm-bindgen-futures
This crate bridges the gap between a Rust Future
and a JavaScript
Promise
. It provides two conversions:
Promise
into a Rust Future
.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.