Skip to main content

ruma_federation_api/
lib.rs

1#![doc(html_favicon_url = "https://ruma.dev/favicon.ico")]
2#![doc(html_logo_url = "https://ruma.dev/images/logo.png")]
3//! (De)serializable types for the [Matrix Server-Server API][federation-api].
4//! These types are used by server code.
5//!
6//! [federation-api]: https://spec.matrix.org/v1.19/server-server-api/
7
8// This crate is not useful without either of those features, so export nothing if they are not
9// enabled to avoid errors when running checks wrongly without enabling any of them.
10#![cfg(any(feature = "client", feature = "server"))]
11#![cfg_attr(docsrs, feature(doc_cfg))]
12#![warn(missing_docs)]
13
14mod serde;
15
16pub mod authenticated_media;
17pub mod authentication;
18pub mod authorization;
19pub mod backfill;
20pub mod device;
21pub mod directory;
22pub mod discovery;
23pub mod event;
24pub mod keys;
25pub mod membership;
26pub mod openid;
27pub mod policy;
28pub mod query;
29pub mod room;
30pub mod space;
31pub mod thirdparty;
32pub mod transactions;
33
34ruma_common::priv_owned_str!();