This commit is contained in:
2026-04-17 18:55:25 +02:00
commit d6a33a7fcb
16 changed files with 580 additions and 0 deletions

23
khbb_lib/src/lib.rs Normal file
View File

@@ -0,0 +1,23 @@
// file: khbb_lib/src/lib.rs
//! Core public library for the `khadhroony-bobot` workspace.
//!
//! This crate exposes the reusable building blocks shared by the khbb
//! applications, starting with the listener runtime bootstrap.
#![deny(unreachable_pub)]
#![warn(missing_docs)]
mod app;
mod config;
mod error;
mod tracing_setup;
/// Public re-exports for the khbb core library.
pub use crate::app::run_listener_app;
/// Public re-exports for configuration loading.
pub use crate::config::KhbbAppConfig;
/// Public re-exports for configuration loading errors and runtime errors.
pub use crate::error::KhbbError;
/// Public re-exports for tracing initialization.
pub use crate::tracing_setup::init_tracing;