Sunbeam Studios

Our open-source projects, here for you!

wasm-bindgen-futures (0.4.64)

Published 2026-03-26 10:36:22 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add wasm-bindgen-futures@0.4.64

About this package

Bridging the gap between Rust Futures and JavaScript Promises

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.

Dependencies

ID Version
cfg-if ^1.0.0
futures-core ^0.3.8
futures-util ^0.3.31
js-sys =0.3.91
once_cell ^1.12
wasm-bindgen =0.2.114
futures-channel ^0.3
futures-lite ^2
web-sys =0.3.91
Details
Cargo
2026-03-26 10:36:22 +00:00
0
The wasm-bindgen Developers
MIT OR Apache-2.0
17 KiB
Assets (1)
Versions (1) View all
0.4.64 2026-03-26