No description
  • Rust 99.8%
  • HTML 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Erwan Leboucher 17a0c87caa
feat(crypto): decrypt a room event without requesting its key
Signed-off-by: Erwan Leboucher <erwanleboucher@gmail.com>
2026-11-16 16:15:14 +01:00
.cargo fix: Enabling the sha3 target-feature was causing crashes on Android on arm64 2026-08-13 08:34:20 +02:00
.config ci: Store successful test results in the JUnit file as well 2025-06-19 11:14:51 +02:00
.github chore(deps): bump taiki-e/install-action from 2.87.32 to 2.89.1 2026-11-10 10:16:28 +01:00
benchmarks perf(ui): Load the read receipts of new timeline events in one batch 2026-11-11 20:07:14 +01:00
bindings fix(send_queue): keep forbidden events from blocking later sends 2026-11-13 12:39:25 +01:00
contrib chore: Run rumdl check --fix. 2026-05-18 15:05:52 +02:00
crates feat(crypto): decrypt a room event without requesting its key 2026-11-16 16:15:14 +01:00
examples feat(encryption): Expose the full UIAA info on UiaaCrossSigningResetInfo (#7322) 2026-10-22 16:23:21 +00:00
labs fix(sdk): Client::(event_cache|latest_events) return an Option, and Room::event_cache is removed. 2026-10-15 15:32:59 +02:00
testing test(sdk): Refactor spaces integration tests 2026-11-10 10:12:32 +01:00
uniffi-bindgen chore: Lint Cargo.toml files. 2026-09-08 16:10:57 +02:00
xtask feat(xtask): add a --prebuilt flag to swift build-framework 2026-11-10 15:04:57 +02:00
.deny.toml Update dependencies 2026-10-25 19:13:41 +01:00
.editorconfig build: Adding .editorconfig 2022-08-01 14:33:05 +02:00
.gitignore add .envrc to .gitignore 2025-08-18 15:20:31 +02:00
.rumdl.toml chore: Configure rumdl. 2026-05-18 15:05:52 +02:00
.rustfmt.toml Finish Rust Edition 2024 migration 2026-04-08 07:56:03 +02:00
.typos.toml test(crypto): Test X.509 signer and verifier 2026-07-21 13:20:52 +01:00
.zizmor.yml ci: Add a zizmor config and use correct hashes for our github actions 2026-04-20 09:49:55 +02:00
ARCHITECTURE.md chore: Run rumdl check --fix. 2026-05-18 15:05:52 +02:00
Cargo.lock feat(rtc): add support for the m.livekit transport type 2026-11-10 10:48:15 +01:00
Cargo.toml feat(rtc): add support for the m.livekit transport type 2026-11-10 10:48:15 +01:00
clippy.toml fix: Avoid using NamedTempFile::reopen to avoid crashes (#7228) 2026-10-07 11:15:36 +02:00
codecov.yaml Remove matrix-sdk-appservice 2023-09-05 15:40:38 +02:00
CONTRIBUTING.md doc: Forgejo's AI policy has changed, stop mentioning it. 2026-06-23 11:25:00 +02:00
LICENSE rust-sdk: Switch the license to Apache 2.0. 2020-02-21 16:54:05 +01:00
README.md chore: Run rumdl check --fix. 2026-05-18 15:05:52 +02:00
release.toml chore: Update the release hook to call towncrier 2026-05-14 15:56:14 +02:00
RELEASING.md chore: Run rumdl check --fix. 2026-05-18 15:05:52 +02:00
tarpaulin.toml chore(ci): exclude some crate from codecov testing 2025-06-06 09:28:55 +02:00
towncrier.toml Fix template URL for PR 2026-09-17 09:48:17 +02:00

Matrix Rust SDK

Your all-in-one toolkit for creating Matrix clients with Rust, from simple bots to full-featured apps.


The Matrix Rust SDK is a collection of libraries that make it easier to build Matrix clients in Rust.

Element logo

Development of the SDK is proudly sponsored and maintained by Element. Element uses the SDK in their next-generation mobile apps Element X on iOS and Android 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.

Purpose

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. Whether you're writing a small bot, a desktop client, or something in between, the SDK is designed to be flexible, async-friendly, and ready to use out of the box.

Project structure

The Matrix Rust SDK is made up of several crates that build on top of each other. The following crates are expected to be usable as direct dependencies:

  • matrix-sdk-ui – A high-level client library that makes it easy to build full-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, custom clients, or higher-level abstractions. You can find example usage in the examples 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 the crypto tutorial for a step-by-step introduction.

All other crates are effectively internal-only and only structured as crates for organizational purposes and to improve compilation times. Direct usage of them is discouraged.

Status

The library is considered production ready and backs multiple client implementations such as Element X [1] [2], Fractal and iamb. Client developers should feel confident to build upon it.

Bindings

The higher-level crates of the Matrix Rust SDK can be embedded in other environments such as Swift, Kotlin, JavaScript, and Node.js. Check out the bindings/ directory to learn more about how to integrate the SDK into your language of choice.

License

Apache-2.0