ruma
ruma copied to clipboard
A set of Rust crates for interacting with the Matrix chat network.
#### Background and Context With [`areweoidcyet.com`](https://areweoidcyet.com/), the Matrix Foundation has (imo) displayed enough commitment to the pushing ahead of the likes of [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) (and related MSCs) For Ruma, this effectively...
The identifier macro code currently contains some mostly-duplicate code for generating trait implementations by delegating to `id.as_str()` for identifier DSTs als well as owned identifier types. We should deduplicate those...
Implements [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) (Sliding Sync) Taking the work from #795, cleaned up to latest MSC updates and updated to ruma 0.5 (not yet `main`), this is anywhere from complete but the...
This came up while discussing https://github.com/ruma/ruma/pull/1161; `ammonia` might not be flexible enough to match what the spec wants for HTML sanatization. Out of that issue, I questioned how much code...
[Rendered MSC](https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/2832-appservice-auth-fix.md?rgh-link-date=2020-10-24T15%3A28%3A04Z). We don't currently support the query parameter based access token (#314), and now that this MSC has been merged, maybe we shouldn't. Regardless of whether we support the...
This seems to have slipped through the cracks in https://github.com/ruma/ruma/issues/928 The main advantages of this would be to compress memory usage of identifiers even further, at the cost of some...
Redaction should probably be a separate variant after #1195, and the scope of `ParseError` vs `Error` is also rather unclear IMO. Additionally, `JsonError::NotMultiplesOfType` seems a bit weird, and in general...
Currently the API in ruma-client is only usable for client-server endpoints. We should have a `FederationClient` (and maybe later an appservice one too) for non-CS requests.
Apparently this causes some compatibility issues with those servers when they try to download stuff from a conduit server. Context [here](https://matrix.to/#/!SMloEYlhCiqKwRLAgY:fachschaften.org/$3ombWBiMomZD7w8F906YENjPb_Ek2tolanmBBQjAPXA?via=conduit.rs&via=matrix.org&via=envs.net), in the conduit room. For this we probably need...
I think this could be simplified with a tokenstream variable, but that could be a later change. _Originally posted by @ShadowJonathan in https://github.com/ruma/ruma/pull/1235#discussion_r914846915_