#r-socket #wasm-module #bidirectional #protocols #host #stream #client

wasmrs

Base host and client implementations of the wasmRS RSocket protocol

16 breaking releases

0.17.0 Oct 9, 2023
0.15.0 Aug 17, 2023
0.14.0 Jul 26, 2023
0.8.0 Mar 22, 2023
0.1.0 Dec 27, 2022

#393 in WebAssembly

Download history 59/week @ 2024-01-01 101/week @ 2024-01-08 89/week @ 2024-01-15 72/week @ 2024-01-22 63/week @ 2024-01-29 90/week @ 2024-02-05 87/week @ 2024-02-12 83/week @ 2024-02-19 126/week @ 2024-02-26 121/week @ 2024-03-04 115/week @ 2024-03-11 119/week @ 2024-03-18 178/week @ 2024-03-25 164/week @ 2024-04-01 110/week @ 2024-04-08 112/week @ 2024-04-15

571 downloads per month
Used in 34 crates (12 directly)

Apache-2.0

175KB
4.5K SLoC

wasmrs

WasmRS is an implementation of Reactive Streams for WebAssembly modules that allows hosts & guests to communicate via asynchronous, bidirectional streams.

The wasmrs crate is the base implementation of the bidirectional WebAssembly socket.

Usage

See wasmrs-guest, wasmrs-host, and wasmrs-wamtime for examples on how to use wasmrs directly.

More Information

For more information on wasmRS, see the core wasmrs crate.

WasmRS makes heavy use of generated code from apex specs and generators to automate all of the boilerplate. See the getting-started for usage.

Contributing

See CONTRIBUTING.md

License

See the root LICENSE.txt

Dependencies

~3–12MB
~105K SLoC