veilid/veilid-wasm
2023-09-11 18:42:05 -04:00
..
.cargo Add VeilidRoutingContext class for WASM 2023-09-03 23:27:20 -04:00
src (wasm) Better TS types for serialized structs, RoutingContext++, more crypto fns 2023-09-11 18:42:05 -04:00
tests (wasm) basic working unit tests 2023-09-04 22:13:58 -04:00
.gitignore ffi work 2022-02-06 21:18:42 -05:00
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 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_test.sh (wasm) basic working unit tests 2023-09-04 22:13:58 -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.