mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-24 09:27:38 +00:00
Convert in-memory data structures in appservice, rooms::typing, and sync wakers to use SyncRwLock and SyncMutex. Drop appservice locks before making outbound network requests in room alias queries and federation invites.
49 lines
1.0 KiB
Rust
49 lines
1.0 KiB
Rust
#![type_length_limit = "12288"]
|
|
|
|
pub mod alloc;
|
|
pub mod config;
|
|
pub mod debug;
|
|
pub mod error;
|
|
pub mod info;
|
|
pub mod log;
|
|
pub mod matrix;
|
|
pub mod metrics;
|
|
pub mod mods;
|
|
|
|
#[cfg(any(not(conduwuit_mods), not(feature = "conduwuit_mods")))]
|
|
pub mod mods {
|
|
#[macro_export]
|
|
macro_rules! mod_ctor {
|
|
() => {};
|
|
}
|
|
#[macro_export]
|
|
macro_rules! mod_dtor {
|
|
() => {};
|
|
}
|
|
}
|
|
pub mod server;
|
|
pub mod utils;
|
|
|
|
pub use ::arrayvec;
|
|
pub use ::http;
|
|
pub use ::ruma;
|
|
pub use ::smallstr;
|
|
pub use ::smallvec;
|
|
pub use ::toml;
|
|
pub use ::tracing;
|
|
pub use conduwuit_build_metadata as build_metadata;
|
|
pub use config::Config;
|
|
pub use error::Error;
|
|
pub use info::version::*;
|
|
pub use matrix::{Event, EventTypeExt, Pdu, PduCount, PduEvent, PduId, pdu, state_res};
|
|
pub use parking_lot::{
|
|
Mutex as SyncMutex, RwLock as SyncRwLock, RwLockReadGuard as SyncRwLockReadGuard,
|
|
RwLockWriteGuard as SyncRwLockWriteGuard,
|
|
};
|
|
pub use server::Server;
|
|
pub use utils::{result, result::Result};
|
|
|
|
pub use crate as conduwuit_core;
|
|
|
|
conduwuit_macros::introspect_crate! {}
|