feat: Generate binary documentation

Also refactors main.rs/mod.rs to silence clippy
This commit is contained in:
Jade Ellis
2025-07-06 21:59:20 +01:00
parent d98ce2c7b9
commit 28a29c3a7b
12 changed files with 281 additions and 209 deletions
+5 -2
View File
@@ -9,7 +9,10 @@ use conduwuit_core::{
};
use tokio::{runtime, sync::Mutex};
use crate::{clap::Args, logging::TracingFlameGuard};
use crate::{
clap::{Args, update},
logging::TracingFlameGuard,
};
/// Server runtime state; complete
pub(crate) struct Server {
@@ -43,7 +46,7 @@ impl Server {
.map(PathBuf::as_path);
let config = Config::load(config_paths)
.and_then(|raw| crate::clap::update(raw, args))
.and_then(|raw| update(raw, args))
.and_then(|raw| Config::new(&raw))?;
let (tracing_reload_handle, tracing_flame_guard, capture) =