veilid/veilid-wasm
2023-09-04 17:34:49 -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 switch out capabilities 2023-07-03 15:10:28 -04:00
.gitignore ffi work 2022-02-06 21:18:42 -05:00
Cargo.toml Setup for TypeScript type gen for WASM using Tsify 2023-09-03 23:27:08 -04:00
LICENSE.md licensing 2023-07-19 12:48:44 -04:00
README.md Add new VeilidTable and VeilidClient to WASM API 2023-09-03 23:27:08 -04:00
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-sourcemap.py WASM work 2022-03-15 09:33:34 -04:00

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.