Reorganize main crate for testability.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#![type_length_limit = "12288"]
|
||||
|
||||
pub mod alloc;
|
||||
pub mod args;
|
||||
pub mod config;
|
||||
pub mod debug;
|
||||
pub mod error;
|
||||
@@ -9,6 +10,7 @@ pub mod log;
|
||||
pub mod matrix;
|
||||
pub mod metrics;
|
||||
pub mod mods;
|
||||
pub mod runtime;
|
||||
pub mod server;
|
||||
pub mod utils;
|
||||
|
||||
@@ -20,12 +22,14 @@ pub use ::smallstr;
|
||||
pub use ::smallvec;
|
||||
pub use ::toml;
|
||||
pub use ::tracing;
|
||||
pub use args::Args;
|
||||
pub use config::Config;
|
||||
pub use error::Error;
|
||||
pub use info::{rustc_flags_capture, version, version::version};
|
||||
pub use matrix::{
|
||||
Event, EventTypeExt, Pdu, PduCount, PduEvent, PduId, RoomVersion, pdu, state_res,
|
||||
};
|
||||
pub use runtime::Runtime;
|
||||
pub use server::Server;
|
||||
pub use utils::{ctor, dtor, implement, result, result::Result};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user