- Notifications
You must be signed in to change notification settings - Fork0
Matrix Client-Server SDK for Rust
License
matrix-construct/matrix-rust-sdk
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The Matrix Rust SDK is a collection of libraries that make it easier to buildMatrix clients inRust.

Development of the SDK is proudly sponsored and maintained byElement. Element uses the SDK in their next-generation mobile apps Element X oniOS andAndroid and has plans to introduce it to the web and desktop clients as well.
The SDK is also the basis for multiple Matrix projects and we welcome contributions from all.
The SDK takes care of the low-level details like encryption,syncing, and room state, so you can focus on your app's logic and UI. Whetheryou're writing a small bot, a desktop client, or something in between, the SDKis designed to be flexible, async-friendly, and ready to use out of the box.
The Matrix Rust SDK is made up of several crates that build on top of eachother. The following crates are expected to be usable as direct dependencies:
- matrix-sdk-ui – A high-level client library that makes it easy to buildfull-featured UI clients with minimal setup. Check out our reference client,multiverse, for an example.
- matrix-sdk – A mid-level client library, ideal for building bots, customclients, or higher-level abstractions. You can find example usage in theexamples directory.
- matrix-sdk-crypto – A standalone encryption state machine with no network I/O,providing end-to-end encryption support for Matrix clients and libraries.See thecrypto tutorialfor a step-by-step introduction.
All other crates are effectively internal-only and only structured as cratesfor organizational purposes and to improve compilation times. Direct usage of them is discouraged.
The library is considered production ready and backs multiple clientimplementations such as Element X[1][2],Fractal andiamb. Client developers should feelconfident to build upon it.
The higher-level crates of the Matrix Rust SDK can be embedded in otherenvironments such as Swift, Kotlin, JavaScript, and Node.js. Check out thebindings/ directory to learn more about how to integrate the SDKinto your language of choice.
About
Matrix Client-Server SDK for Rust
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- Rust100.0%
- Shell0.0%
- Swift0.0%
- Python0.0%
- Ruby0.0%
- Perl0.0%