veilid/veilid-wasm
2023-09-04 22:13:58 -04:00
..
.cargo Add VeilidRoutingContext class for WASM 2023-09-03 23:27:20 -04:00
src (wasm) Improved memory management, track by struct so drop works, use --weak-ref for wasm-bindgen 2023-09-04 17:34:49 -04:00
tests (wasm) basic working unit tests 2023-09-04 22:13:58 -04:00
.gitignore
Cargo.toml (wasm) basic working unit tests 2023-09-04 22:13:58 -04:00
LICENSE.md licensing 2023-07-19 12:48:44 -04:00
README.md
wasm_build.sh (wasm) Improved memory management, track by struct so drop works, use --weak-ref for wasm-bindgen 2023-09-04 17:34:49 -04:00
wasm_test.sh (wasm) basic working unit tests 2023-09-04 22:13:58 -04:00
wasm-sourcemap.py

veilid-wasm

Notes

  • wasm_bindgen is used to generate interop code between JavaScript and Rust, as well as basic TypeScript types.
  • tsify is used to export TypeScript types along-side wasm_bindgen and serde_wasm_bindgen, and enables serialization/deserialization.