No description
Find a file
2022-06-29 10:31:25 +02:00
.cargo Revert "Use target-applies-to-host to avoid unnecessary cache invalidation" 2022-06-29 10:15:19 +02:00
.github ci: Don't mark Docs CI job as failed when deploying the preview fails 2022-06-22 18:17:06 +02:00
contrib Update how to release docs 2022-04-28 16:35:55 +02:00
crates Fix unstable-msc2870 2022-06-29 10:31:25 +02:00
examples Increase usage of implicit named arguments in format strings 2022-06-03 10:06:28 +02:00
xtask Update clippy issue reference 2022-06-21 18:03:46 +02:00
.clippy.toml Bump MSRV to 1.60 2022-06-01 14:52:02 +02:00
.editorconfig Don't trim trailing whitespace in markdown files 2021-01-08 20:59:57 +01:00
.gitignore Use sub-.gitignore for xtask 2021-05-03 14:58:50 +02:00
.rustfmt.toml Enable automatic field init shorthand in rustfmt 2022-02-18 11:37:50 +01:00
.typos.toml xtask: Add typos check 2022-03-18 14:29:57 +01:00
Cargo.toml Optimize quote in the dev profile 2022-06-14 17:20:55 +02:00
CONTRIBUTING.md docs: Document the use of American spelling 2022-06-12 14:26:07 +02:00
LICENSE Merge LICENSE files 2020-09-26 15:52:52 +02:00
README.md Link to ruma crate docs for unstable doc link 2022-06-09 10:22:20 +02:00
rust-toolchain.toml Switch to using rust-toolchain.toml file 2021-08-17 13:30:24 +00: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.6.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.io if you use use the git dependency).

Status

Ruma 0.6 supports all events and REST endpoints of Matrix v1.0, v1.1 and v1.2.

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-pre-spec Cargo feature.

Contributing

See CONTRIBUTING.md.

Minimum Rust version

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