mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-15 11:36:07 -04:00
It turns out that Google Chrome refuses to initialise the wasm via the synchronous `WebAssembly.Module` constructor, complaining that it is too big. To be fair, it has a point. Anyway, that means we need to provide a way to load the wasm asynchronously. So, we introduce an `initAsync()` function which applications can call before they do anything else, to load the wasm in the background. If the app *doesn't* call `initAsync()`, then we load the wasm synchronously the first time a function that accesses the wasm is called.
Matrix Rust SDK bindings
In this directory, one can find bindings to the Rust SDK that are maintained by the owners of the Matrix Rust SDK project.
appleormatrix-rust-components-swift, Swift bindings of thematrix-sdkcrate viamatrix-sdk-ffi,matrix-sdk-crypto-ffi, UniFFI (Kotlin, Swift, Python, Ruby) bindings of thematrix-sdk-cryptocrate,matrix-sdk-crypto-js, JavaScript bindings of thematrix-sdk-cryptocrate,matrix-sdk-crypto-nodejs, Node.js bindings of thematrix-sdk-cryptocrate,matrix-sdk-ffi, UniFFI bindings of thematrix-sdkcrate.