matrix-rust-sdk/crates/matrix-sdk/examples/wasm_command_bot
Damir Jelić af74988a83 chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
..
src chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
.gitignore chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
Cargo.toml chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
README.md chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
index.js chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
package.json chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
webpack.config.js chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00

README.md

Example usage of matrix-rust-sdk from WASM

You can build the example locally with:

npm install
npm run serve

and then visiting http://localhost:8080 in a browser should run the example!

This example is loosely based off of this example, an example usage of fetch from wasm-bindgen.