A set of Rust crates for interacting with the Matrix chat network. https://ruma.io
Find a file
Jason Volk 54da128bbe
Some checks failed
Dependencies / Bans, Licenses, Sources (push) Failing after 9s
CI / xtask (push) Failing after 17s
Dependencies / Advisories (push) Failing after 4s
CI / Style (push) Has been skipped
CI / Minimum Supported Rust Version / Check All Features (push) Has been skipped
CI / Minimum Supported Rust Version / Check Owned IDs with Arc (push) Has been skipped
CI / Minimum Supported Rust Version / Check Owned IDs with Box (push) Has been skipped
CI / Minimum Supported Rust Version / Check Ruma (push) Has been skipped
CI / Rust Stable / Check All Features (push) Has been skipped
CI / Rust Stable / Check Client (push) Has been skipped
CI / Rust Stable / Check Common (push) Has been skipped
CI / Rust Stable / Run Tests (push) Has been skipped
CI / Rust Stable / Run Compat Tests (push) Has been skipped
CI / Rust Stable / Run Doc Tests (push) Has been skipped
CI / Rust Nightly / Clippy All Features (push) Has been skipped
CI / Rust Nightly / Clippy Default Features (push) Has been skipped
CI / Rust Nightly / Clippy WASM (push) Has been skipped
CI / Rust Nightly / Check Formatting (push) Has been skipped
CI / Rust Nightly / All Features (push) Has been skipped
CI / Rust Nightly / Full Features (push) Has been skipped
CI / Docs (push) Has been skipped
refactor owned identifiers using SmallVec
2024-12-28 01:06:09 +00:00
.cargo Use workspace lint configuration instead of rustflags hack 2024-09-11 07:13:32 +00:00
.github chore: Bump nightly Rust toolchain 2024-11-29 17:44:57 -05:00
.wasm ci: Improve and run clippy-wasm command 2024-07-11 09:47:03 +02:00
contrib docs: Update workspace dependencies graph 2024-05-09 14:20:02 +02:00
crates refactor owned identifiers using SmallVec 2024-12-28 01:06:09 +00:00
examples Remove examples from the repository 2024-09-10 17:18:01 +00:00
xtask chore: Bump nightly Rust toolchain 2024-11-29 17:44:57 -05:00
.clippy.toml Remove msrv from .clippy.toml 2022-07-19 21:41:15 +02:00
.deny.toml ci: Allow Unicode-3.0 license 2024-06-10 22:54:57 +02:00
.editorconfig Don't trim trailing whitespace in markdown files 2021-01-08 20:59:57 +01:00
.gitignore Ignore Intellij Idea's .idea directory 2023-07-28 12:03:45 +00:00
.rustfmt.toml bump rustfmt edition 2024-09-21 00:37:55 +00:00
.typos.toml ci: Upgrade typos action 2024-04-03 12:22:51 +02:00
Cargo.toml refactor owned identifiers using SmallVec 2024-12-28 01:06:09 +00:00
CONTRIBUTING.md docs: Document area prefix for commits 2024-06-10 22:59:40 +02:00
LICENSE Merge LICENSE files 2020-09-26 15:52:52 +02:00
README.md docs: Link to examples repo from main readme 2024-09-10 17:18:01 +00:00
rust-toolchain.toml chore: Bump nightly Rust toolchain 2024-11-29 17:44:57 -05: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.10.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 also find a small number of examples in our dedicated examples repository.

Status

Ruma 0.10.0 supports all events and REST endpoints of Matrix 1.10.

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

A few less formalized things are gated behind the unstable-unspecified Cargo feature.

Contributing

See CONTRIBUTING.md.

Minimum Rust version

Ruma currently requires Rust 1.75. 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