Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibaryshnikov/beijing-workshop-2019-wasm-bindgen
Workshop materials for RustCon
https://github.com/ibaryshnikov/beijing-workshop-2019-wasm-bindgen
Last synced: 21 days ago
JSON representation
Workshop materials for RustCon
- Host: GitHub
- URL: https://github.com/ibaryshnikov/beijing-workshop-2019-wasm-bindgen
- Owner: ibaryshnikov
- Created: 2019-04-22T03:29:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T23:43:13.000Z (about 2 years ago)
- Last Synced: 2024-11-09T06:44:04.140Z (3 months ago)
- Language: JavaScript
- Size: 83 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The contents of the wasm workshop, part 2
Examples of using `wasm-bindgen`:
- with [es6](es6) modules
- with [node.js](nodejs)
- with [webpack](webpack)## Setting up
Add compilation target to the toolchain
```
rustup target add wasm32-unknown-unknown
```Install `wasm-pack`
```
cargo install wasm-pack --version 0.9.1
```Optionally, install static server
```
cargo install https
```For `node.js` and `webpack` examples
you will need `node.js` binary installed.
For detailed instructions visit https://nodejs.org/en/download/### Useful links
- https://rustwasm.github.io/docs/wasm-bindgen/
- https://rustwasm.github.io/docs/wasm-pack/
- https://nodejs.org
- https://webpack.js.org/