This commit is contained in:
2026-07-23 16:37:12 +02:00
parent 99c345f2f2
commit 0da75c1311
2159 changed files with 230833 additions and 0 deletions

15
kb-config/Cargo.toml Normal file
View File

@@ -0,0 +1,15 @@
# file: kb-config/Cargo.toml
# version: 1
[package]
name = "kb-config"
version.workspace = true
edition.workspace = true
license.workspace = true
publish.workspace = true
[dependencies]
kb-core = { path = "../kb-core" }
[lints]
workspace = true

23
kb-config/src/lib.rs Normal file
View File

@@ -0,0 +1,23 @@
// file: kb-config/src/lib.rs
// version: 1
#![forbid(unsafe_code)]
#![deny(unreachable_pub)]
#![warn(missing_docs)]
//! Configuration contracts for Khadhroony Bot3.
/// Minimal application configuration used during the migration.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct AppConfig {
/// Active profile name.
pub active_profile: std::string::String,
}
impl std::default::Default for AppConfig {
fn default() -> Self {
return Self {
active_profile: std::string::String::from("development"),
};
}
}