Matrix Client-Server SDK for Rust
open sourceApache-2.0free
The Matrix Rust SDK is a set of Rust crates for building Matrix clients, from small bots to full apps. matrix-sdk is the mid-level client library for logging in to a homeserver, syncing rooms and sending messages; matrix-sdk-ui adds high-level building blocks for full UI clients; and matrix-sdk-crypto is a standalone end-to-end encryption state machine with no network I/O. The SDK handles encryption, sync and room state, and its higher-level crates have bindings for Swift, Kotlin, JavaScript and Node.js. Element sponsors and maintains it, and it backs Element X on iOS and Android, Fractal and iamb.
Problems it solves
- write a Matrix bot in Rust that reads and posts messages in a room
- have a Rust background service read alerts from an end-to-end encrypted Matrix room
- build a Matrix chat client in Rust without implementing sync and encryption myself
- add Matrix end-to-end encryption to my own client library
- share one Matrix client core between our iOS and Android apps
Features
- log in to a Matrix homeserver and sync rooms
- send and read messages
- end-to-end encryption with a persistent crypto store
- standalone crypto state machine (matrix-sdk-crypto)
- high-level UI client crate (matrix-sdk-ui)
- bindings for Swift, Kotlin, JavaScript and Node.js
- async Rust API
Capabilities
| Has official SDKs | plan not known |
|---|
