2025-03-30 22:59:29 +00:00
|
|
|
#![type_length_limit = "12288"]
|
|
|
|
|
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod alloc;
|
|
|
|
|
pub mod config;
|
|
|
|
|
pub mod debug;
|
|
|
|
|
pub mod error;
|
2024-07-24 01:06:58 +00:00
|
|
|
pub mod info;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod log;
|
2025-04-04 03:30:13 +00:00
|
|
|
pub mod matrix;
|
2024-06-25 05:05:02 +00:00
|
|
|
pub mod metrics;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod mods;
|
2026-03-29 12:25:42 -04:00
|
|
|
|
|
|
|
|
#[cfg(any(not(conduwuit_mods), not(feature = "conduwuit_mods")))]
|
|
|
|
|
pub mod mods {
|
|
|
|
|
#[macro_export]
|
|
|
|
|
macro_rules! mod_ctor {
|
|
|
|
|
() => {};
|
|
|
|
|
}
|
|
|
|
|
#[macro_export]
|
|
|
|
|
macro_rules! mod_dtor {
|
|
|
|
|
() => {};
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-05-09 15:59:08 -07:00
|
|
|
pub mod server;
|
|
|
|
|
pub mod utils;
|
|
|
|
|
|
2025-02-08 00:16:37 +00:00
|
|
|
pub use ::arrayvec;
|
2024-09-12 00:59:08 +00:00
|
|
|
pub use ::http;
|
|
|
|
|
pub use ::ruma;
|
2025-02-08 00:16:37 +00:00
|
|
|
pub use ::smallstr;
|
|
|
|
|
pub use ::smallvec;
|
2024-07-25 02:59:54 +00:00
|
|
|
pub use ::toml;
|
2024-09-12 00:59:08 +00:00
|
|
|
pub use ::tracing;
|
2026-01-20 21:01:21 +00:00
|
|
|
pub use conduwuit_build_metadata as build_metadata;
|
2024-05-09 15:59:08 -07:00
|
|
|
pub use config::Config;
|
2024-07-08 02:50:10 +00:00
|
|
|
pub use error::Error;
|
2026-04-27 16:47:08 -04:00
|
|
|
pub use info::version::*;
|
2026-04-07 14:40:10 +01:00
|
|
|
pub use matrix::{Event, EventTypeExt, Pdu, PduCount, PduEvent, PduId, pdu, state_res};
|
2025-07-19 20:36:27 +01:00
|
|
|
pub use parking_lot::{Mutex as SyncMutex, RwLock as SyncRwLock};
|
2024-05-09 15:59:08 -07:00
|
|
|
pub use server::Server;
|
2026-06-26 06:32:26 +01:00
|
|
|
pub use utils::{result, result::Result};
|
2024-07-24 23:01:00 +00:00
|
|
|
|
2024-12-14 21:58:01 -05:00
|
|
|
pub use crate as conduwuit_core;
|
2024-05-09 15:59:08 -07:00
|
|
|
|
2026-01-20 21:01:21 +00:00
|
|
|
conduwuit_macros::introspect_crate! {}
|