pub use async_trait::async_trait; pub use instant; pub use ruma::{ api::{ client as api, error::{FromHttpRequestError, FromHttpResponseError, IntoHttpError, ServerError}, AuthScheme, EndpointError, IncomingResponse, OutgoingRequest, }, assign, directory, encryption, events, identifiers, int, presence, push, serde::{CanonicalJsonValue, Raw}, thirdparty, uint, Int, Outgoing, UInt, }; pub use uuid; pub mod deserialized_responses; pub mod executor; pub mod locks; /// Super trait that is used for our store traits, this trait will differ if /// it's used on WASM. WASM targets will not require `Send` and `Sync` to have /// implemented, while other targets will. #[cfg(not(target_arch = "wasm32"))] pub trait AsyncTraitDeps: std::fmt::Debug + Send + Sync {} #[cfg(not(target_arch = "wasm32"))] impl AsyncTraitDeps for T {} /// Super trait that is used for our store traits, this trait will differ if /// it's used on WASM. WASM targets will not require `Send` and `Sync` to have /// implemented, while other targets will. #[cfg(target_arch = "wasm32")] pub trait AsyncTraitDeps: std::fmt::Debug + Send + Sync {} #[cfg(target_arch = "wasm32")] impl AsyncTraitDeps for T {}