mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-25 09:39:34 -04:00
This patch adapts the `RoomList` FFI API to the recent changes to suport a `Stream<Item = RoomListItem>` instead of a `Stream<Item = RoomListEntry>`. Behind the scene, it supports client side sorting for the rooms but this is transparent for this API. This patch also removes the `RoomListInput` enum as no input is supporter anymore. The `entries` method no long returns a `RoomListEntriesResult` but directly a `TaskHandle`. The given listener will receive the initial entries as a `VectorDiff::Append`, which first is simpler but also fixe a potential race condition bug.
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-ffi, UniFFI bindings of thematrix-sdkcrate.
There are also external bindings in other repositories:
matrix-sdk-crypto-wasm, JavaScript / WebAssembly bindings of thematrix-sdk-cryptocrate,matrix-sdk-crypto-nodejs, Node.js bindings of thematrix-sdk-cryptocrate
Contributing
To contribute read this guide.