matrix-org

    matrix-org/matrix-rust-sdk

    Matrix Client-Server SDK for Rust

    backend
    matrix-org
    rust
    sdk
    Rust
    Apache-2.0
    2.3K stars
    525 forks
    2.3K GitHub watchers
    Updated Oct 31, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    2 releases in the last 90 days, the latest 43 days ago, with 194 contributors on GitHub.

    Use Cases & Benefits

    • Provides a comprehensive Rust SDK for building Matrix clients, handling encryption, syncing, and room state management.
    • Offers a flexible, async-friendly toolkit that abstracts low-level Matrix protocol details for faster client development.
    • Use for developing custom Matrix bots or lightweight clients with fine-grained control over client behavior.
    • Use for building full-featured Matrix UI clients leveraging the high-level matrix-sdk-ui crate for minimal setup.
    • Use for integrating Matrix client capabilities into mobile apps or other environments via language bindings like Swift or Kotlin.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    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.

    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.

    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.

    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:

    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.

    Excerpt from the matrix-org/matrix-rust-sdk README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    525+54

    Open issues

    356+46

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    matrix-org/matrix-rust-sdk compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills187.8K+2.9K15—
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    shiyu-coder/Kronos47.0K+2.3K16—
    NationalSecurityAgency/ghidra98.2K+2.3K6414 days ago
    microsoft/VibeVoice56.0K+1.1K29—
    matrix-org/matrix-rust-sdk2.3K—5843 days ago
    Category median56.0K+2.3K29—

    Discover Repositories

    Search across tracked repositories by name or description