#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
#![warn(missing_docs)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#[doc(no_inline)]
pub use assign::assign;
#[doc(no_inline)]
pub use js_int::{int, uint, Int, UInt};
pub use ruma_common::*;
#[doc(inline)]
pub use ruma_identifiers as identifiers;
#[doc(inline)]
pub use ruma_serde as serde;
pub use ruma_serde::Outgoing;
#[allow(deprecated)] pub use ruma_identifiers::{
device_id, device_key_id, event_id, mxc_uri, room_alias_id, room_id, room_version_id,
server_key_id, server_name, server_signing_key_id, user_id, DeviceId, DeviceIdBox,
DeviceKeyAlgorithm, DeviceKeyId, DeviceSignatures, DeviceSigningKeyId, EntitySignatures,
EventEncryptionAlgorithm, EventId, KeyId, KeyName, KeyNameBox, MxcUri, RoomAliasId, RoomId,
RoomIdOrAliasId, RoomVersionId, ServerName, ServerNameBox, ServerSignatures,
ServerSigningKeyId, Signatures, SigningKeyAlgorithm, UserId,
};
#[cfg(feature = "client")]
#[cfg_attr(docsrs, doc(cfg(feature = "client")))]
#[doc(inline)]
pub use ruma_client as client;
#[cfg(feature = "events")]
#[cfg_attr(docsrs, doc(cfg(feature = "events")))]
#[doc(inline)]
pub use ruma_events as events;
#[cfg(feature = "signatures")]
#[cfg_attr(docsrs, doc(cfg(feature = "signatures")))]
#[doc(inline)]
pub use ruma_signatures as signatures;
#[cfg(feature = "state-res")]
#[cfg_attr(docsrs, doc(cfg(feature = "state-res")))]
#[doc(inline)]
pub use ruma_state_res as state_res;
#[cfg(feature = "api")]
#[cfg_attr(docsrs, doc(cfg(feature = "api")))]
pub mod api {
pub use ruma_api::*;
#[cfg(feature = "ruma-appservice-api")]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "appservice-api",
feature = "appservice-api-c",
feature = "appservice-api-s"
)))
)]
#[doc(inline)]
pub use ruma_appservice_api as appservice;
#[cfg(feature = "ruma-client-api")]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "client-api",
feature = "client-api-c",
feature = "client-api-s"
)))
)]
#[doc(inline)]
pub use ruma_client_api as client;
#[cfg(feature = "ruma-federation-api")]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "federation-api",
feature = "federation-api-c",
feature = "federation-api-s"
)))
)]
#[doc(inline)]
pub use ruma_federation_api as federation;
#[cfg(feature = "ruma-identity-service-api")]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "identity-service-api",
feature = "identity-service-api-c",
feature = "identity-service-api-s"
)))
)]
#[doc(inline)]
pub use ruma_identity_service_api as identity_service;
#[cfg(feature = "ruma-push-gateway-api")]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "push-gateway-api",
feature = "push-gateway-api-c",
feature = "push-gateway-api-s"
)))
)]
#[doc(inline)]
pub use ruma_push_gateway_api as push_gateway;
}