pub(crate) mod account; pub(crate) mod alias; pub(crate) mod backup; pub(crate) mod capabilities; pub(crate) mod config; pub(crate) mod context; pub(crate) mod device; pub(crate) mod directory; pub(crate) mod filter; pub(crate) mod keys; pub(crate) mod media; pub(crate) mod membership; pub(crate) mod message; pub(crate) mod presence; pub(crate) mod profile; pub(crate) mod push; pub(crate) mod read_marker; pub(crate) mod redact; pub(crate) mod relations; pub(crate) mod report; pub(crate) mod room; pub(crate) mod search; pub(crate) mod session; pub(crate) mod space; pub(crate) mod state; pub(crate) mod sync; pub(crate) mod tag; pub(crate) mod thirdparty; pub(crate) mod threads; pub(crate) mod to_device; pub(crate) mod typing; pub(crate) mod unstable; pub(crate) mod unversioned; pub(crate) mod user_directory; pub(crate) mod voip; pub(crate) use account::*; pub use alias::get_alias_helper; pub(crate) use alias::*; pub(crate) use backup::*; pub(crate) use capabilities::*; pub(crate) use config::*; pub(crate) use context::*; pub(crate) use device::*; pub(crate) use directory::*; pub(crate) use filter::*; pub(crate) use keys::*; pub(crate) use media::*; pub(crate) use membership::*; pub use membership::{join_room_by_id_helper, leave_all_rooms, leave_room}; pub(crate) use message::*; pub(crate) use presence::*; pub(crate) use profile::*; pub(crate) use push::*; pub(crate) use read_marker::*; pub(crate) use redact::*; pub(crate) use relations::*; pub(crate) use report::*; pub(crate) use room::*; pub(crate) use search::*; pub(crate) use session::*; pub(crate) use space::*; pub(crate) use state::*; pub(crate) use sync::*; pub(crate) use tag::*; pub(crate) use thirdparty::*; pub(crate) use threads::*; pub(crate) use to_device::*; pub(crate) use typing::*; pub(crate) use unstable::*; pub(crate) use unversioned::*; pub(crate) use user_directory::*; pub(crate) use voip::*; /// generated device ID length const DEVICE_ID_LENGTH: usize = 10; /// generated user access token length const TOKEN_LENGTH: usize = 32; /// generated user session ID length const SESSION_ID_LENGTH: usize = service::uiaa::SESSION_ID_LENGTH;