2 releases

0.1.1 Feb 8, 2020
0.1.0 Jan 5, 2020

#778 in WebAssembly

MIT license

420KB
12K SLoC

ARWA: A Rusty Web-API

This crate is an experiment with wrapping the web_sys APIs with an API that better aligns with Rust idioms and conventions (as established in core /std). In its current state, this implementation should be considered merely an exploration of the possibilities and pitfalls: it is barely tested, undocumented, and expected to change significantly. Any contributions, ideas, feedback and discussion would be greatly appreciated, please feel free to open new issues.

Getting started

The examples directory contains several small wasm-bindgen example applications. For now the best way to get started is to copy an example. To install the NodeJS dependencies run:

npm install

Then run the application with:

npm run serve

You should now be able to find the result in a browser at localhost:8080.

Note that this requires NodeJS.

License

MIT

Dependencies

~8–11MB
~201K SLoC