ruwuma/crates/ruma-common
Jonas Platte 984cbda962
identifiers: Don't require room IDs to contain a server name
Room IDs being splittable into localpart and servername does not have
much inherent value and there are proposals like MSC4051¹ that propose
changing the format. Relaxing the rules makes Ruma forwards-compatible
with those proposals. The server_name accessor is kept because it is
used by at least one downstream, but is updated to return an `Option`.

¹ https://github.com/matrix-org/matrix-spec-proposals/pull/4051
2023-09-28 16:43:16 +02:00
..
2023-08-28 10:23:54 +02:00
2023-09-28 11:46:38 +02:00

ruma-common

crates.io page docs.rs page license: MIT

Common types for other Ruma crates.

The feature-gated modules are defined as follow:

api module

Behind the api feature, core types used to define the requests and responses for each endpoint in the various Matrix API specifications. These types can be shared by client and server code for all Matrix APIs.

events module

Behind the events feature, serializable types for the events in the Matrix specification that can be shared by client and server code.