1
0
Fork 0
No description
Find a file
2026-05-16 10:24:48 +02:00
.cargo Use workspace lint configuration instead of rustflags hack 2024-09-11 07:13:32 +00:00
.github ci: Split style/lint ci workflow 2026-04-25 12:41:50 +02:00
.wasm Add reasons, replacements to disallowed types and methods in .clippy.toml 2025-07-13 23:09:45 +02:00
contrib Lint markdown files with rumdl 2026-04-06 09:28:14 +02:00
crates events: Export AnyRedactionEvent 2026-05-16 10:24:48 +02:00
xtask xtask: Fix finding unreleased title in changelog 2026-04-26 14:22:46 +02:00
.clippy.toml Add reasons, replacements to disallowed types and methods in .clippy.toml 2025-07-13 23:09:45 +02:00
.deny.toml xtask: Upgrade reqwest dependency 2026-04-24 11:20:57 +02:00
.editorconfig Don't trim trailing whitespace in markdown files 2021-01-08 20:59:57 +01:00
.gitignore Commit Cargo.lock 2025-06-05 11:09:38 +02:00
.rumdl.toml Lint markdown files with rumdl 2026-04-06 09:28:14 +02:00
.rustfmt.toml Update style edition to 2024 2025-11-09 13:57:49 +01:00
.typos.toml ci: Upgrade typos 2026-03-06 17:30:43 +01:00
Cargo.lock Release ruma 0.15.1 2026-04-28 08:50:48 +02:00
Cargo.toml Release ruma-client-api 0.23.1 2026-04-28 08:46:20 +02:00
CONTRIBUTING.md Lint markdown files with rumdl 2026-04-06 09:28:14 +02:00
LICENSE Merge LICENSE files 2020-09-26 15:52:52 +02:00
README.md Release ruma 0.15.0 2026-04-26 14:47:26 +02:00
rust-toolchain.toml ci: Upgrade version of Rust nightly 2026-04-18 18:16:21 +02:00

Ruma Your home in Matrix

A set of Rust crates (libraries) for interacting with the Matrix chat network.

websitechatdocumentation (unstable)

Getting started

If you want to build a Matrix client or bot, have a look at matrix-rust-sdk. It builds on Ruma and includes handling of state storage, end-to-end encryption and many other useful things.

For homeservers, bridges and harder-to-categorize software that works with Matrix, you're at the right place. To get started, add ruma to your dependencies:

# crates.io release
ruma = { version = "0.15.0", features = ["..."] }
# git dependency
ruma = { git = "https://github.com/ruma/ruma", branch = "main", features = ["..."] }

ruma re-exports all of the other crates, so you don't have to worry about them as a user. Check out the documentation on docs.rs (or on docs.ruma.dev if you use use the git dependency).

You can find a low level Matrix client in the ruma-client repository.

You can also find a small number of examples in our dedicated ruma-examples repository.

Status

Ruma 0.15.0 supports all events and REST endpoints of Matrix 1.18.

Only room versions enforcing canonical JSON (introduced with room version 6) are supported. Room versions 1 through 5 are supported on a best effort basis, but a missing feature or an incompatibility with a homeserver implementation are not considered bugs. Clients should be able to work with those room versions, granted parts of the room might break in some unconventional cases, but homeservers based on Ruma should not advertise support for them.

Various changes from in-progress or finished MSCs are also implemented, gated behind the unstable-mscXXXX (where XXXX is the MSC number) Cargo features.

Contributing

See CONTRIBUTING.md.

Minimum Rust version

Ruma currently requires Rust 1.89. In general, we will never require beta or nightly for crates.io releases of our crates, and we will try to avoid releasing crates that depend on features that were only just stabilized.

ruma-signatures is an exception: It uses cryptographic libraries that often use relatively new features and that we don't want to use outdated versions of. It is guaranteed to work with whatever is the latest stable version though.

License

MIT