2025-04-04 23:04:13 +00:00
|
|
|
#![type_length_limit = "8192"]
|
2024-07-04 03:26:19 +00:00
|
|
|
#![allow(refining_impl_trait)]
|
|
|
|
|
|
2026-01-05 03:36:44 +00:00
|
|
|
extern crate conduwuit_core as conduwuit;
|
|
|
|
|
extern crate conduwuit_database as database;
|
2026-01-20 21:01:21 +00:00
|
|
|
|
|
|
|
|
conduwuit_macros::introspect_crate! {}
|
|
|
|
|
|
2024-07-13 07:01:45 +00:00
|
|
|
mod manager;
|
2024-11-01 22:16:14 +00:00
|
|
|
mod migrations;
|
2024-07-04 03:26:19 +00:00
|
|
|
mod service;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod services;
|
2025-05-01 18:46:30 +01:00
|
|
|
pub mod state;
|
2024-05-09 15:59:08 -07:00
|
|
|
|
|
|
|
|
pub mod account_data;
|
|
|
|
|
pub mod admin;
|
2025-04-20 19:30:02 +01:00
|
|
|
pub mod announcements;
|
2026-01-05 03:36:44 +00:00
|
|
|
pub mod antispam;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod appservice;
|
2024-07-16 22:29:42 +00:00
|
|
|
pub mod client;
|
2025-01-28 20:55:28 +00:00
|
|
|
pub mod config;
|
2024-07-18 06:37:47 +00:00
|
|
|
pub mod emergency;
|
2025-01-26 00:24:11 +00:00
|
|
|
pub mod federation;
|
2026-02-12 11:47:54 -05:00
|
|
|
pub mod firstrun;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod globals;
|
|
|
|
|
pub mod key_backups;
|
2026-03-19 11:13:42 -04:00
|
|
|
pub mod mailer;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod media;
|
2025-04-19 23:02:43 +01:00
|
|
|
pub mod moderation;
|
2026-03-03 10:36:25 -05:00
|
|
|
pub mod password_reset;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod presence;
|
|
|
|
|
pub mod pusher;
|
2026-01-05 17:27:00 -05:00
|
|
|
pub mod registration_tokens;
|
2024-07-16 22:00:54 +00:00
|
|
|
pub mod resolver;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod rooms;
|
|
|
|
|
pub mod sending;
|
2024-07-31 21:05:15 +00:00
|
|
|
pub mod server_keys;
|
2024-08-08 17:18:30 +00:00
|
|
|
pub mod sync;
|
2026-03-21 20:59:00 -04:00
|
|
|
pub mod threepid;
|
2026-02-23 17:44:35 +00:00
|
|
|
pub mod transactions;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod uiaa;
|
|
|
|
|
pub mod users;
|
|
|
|
|
|
2024-07-21 00:21:34 +00:00
|
|
|
pub(crate) use service::{Args, Dep, Service};
|
2024-05-09 15:59:08 -07:00
|
|
|
|
2024-07-22 07:43:51 +00:00
|
|
|
pub use crate::services::Services;
|
2024-05-09 15:59:08 -07:00
|
|
|
|
2024-12-14 21:58:01 -05:00
|
|
|
conduwuit::mod_ctor! {}
|
|
|
|
|
conduwuit::mod_dtor! {}
|
2026-03-29 12:25:42 -04:00
|
|
|
|
|
|
|
|
use std::sync::LazyLock;
|
2026-04-07 14:40:10 +01:00
|
|
|
|
2026-03-29 12:25:42 -04:00
|
|
|
use conduwuit::matrix::versions::{unstable_features, versions};
|
|
|
|
|
use ruma::api::SupportedVersions;
|
|
|
|
|
|
2026-04-07 14:40:10 +01:00
|
|
|
pub static SUPPORTED_VERSIONS: LazyLock<SupportedVersions> =
|
|
|
|
|
LazyLock::new(|| SupportedVersions::from_parts(&versions(), &unstable_features()));
|