LibXMTP is a shared library encapsulating the core functionality of the XMTP messaging protocol, such as cryptography, networking, and language bindings.
MIT License
40
stars
18
forks
source link
add `serialize` and `deserialize` functions to `diesel-wasm-sqlite` backend #1003
Serialize docs: https://sqlite.org/c3ref/serialize.html Deserialize docs: https://sqlite.org/c3ref/deserialize.html SQLite WASM: https://www.sqlite.org/wasm sqlite3 WebAssembly C-Style API documentation: https://www.sqlite.org/wasm/doc/trunk/api-c-style.md
wasm-bindgen
(rust -> js ffi) docs: https://rustwasm.github.io/wasm-bindgen/reference/attributes/on-js-imports/index.htmlthe
serialize
anddeserialize
methods onRawConnection
are commented out: https://github.com/xmtp/libxmtp/blob/bb18b61df2e310b7c23ad222cb2c167fa9b28ae9/diesel-wasm-sqlite/src/connection/raw.rs#L89They still use the raw C-bindings from
libsqlite3-sys
rust crate. We want to convert these to use the WASM bindings.ffi.rs
andpackage.json
for serialize/deserializeraw.rs