Registry / networking / wasm-streams

wasm-streams

JSON →
library0.6.0rscratesunverified

Bridging between web streams and Rust streams using WebAssembly.

# Cargo.toml [dependencies] wasm-streams = "0.6.0"
INSTALL
IMPORT
SIG · WASM-STREAMS
W
wasm-streams
networkingrustv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ReadableStream
use wasm_streams::ReadableStream;

Creates a new ReadableStream that can be used with web APIs.

use wasm_streams::ReadableStream; let stream = ReadableStream::new(); // Use stream with JavaScript ReadableStream
Debug
Known issues
gotchaOnly works in WebAssembly targets (wasm32-unknown-unknown).
fix
Compile for wasm32-unknown-unknown target.
affects: >=0.6.0
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
50
Resources
wasm-streams — cargo add wasm-streams · libregistry