0.1.0
This commit is contained in:
18
migration/khadhroony-bot2-reference/kb_worker/Cargo.toml
Normal file
18
migration/khadhroony-bot2-reference/kb_worker/Cargo.toml
Normal file
@@ -0,0 +1,18 @@
|
||||
# file: kb_worker/Cargo.toml
|
||||
# version: 1
|
||||
|
||||
[package]
|
||||
name = "kb_worker"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
publish.workspace = true
|
||||
|
||||
[dependencies]
|
||||
kb_core = { path = "../kb_core" }
|
||||
kb_logging = { path = "../kb_logging" }
|
||||
kb_model = { path = "../kb_model" }
|
||||
kb_pipeline = { path = "../kb_pipeline" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
17
migration/khadhroony-bot2-reference/kb_worker/README.md
Normal file
17
migration/khadhroony-bot2-reference/kb_worker/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- file: kb_worker/README.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# kb_worker
|
||||
|
||||
Ce crate contient le futur worker asynchrone chargé des traitements continus.
|
||||
|
||||
## Rôle dans l'écosystème
|
||||
|
||||
Ce module fait partie du découpage strict de Khadhroony Bot2. Il doit conserver des dépendances limitées et ne pas contourner les interfaces communes du workspace.
|
||||
|
||||
## Règles locales
|
||||
|
||||
- Les commentaires de code restent en anglais.
|
||||
- La documentation Markdown reste en français.
|
||||
- Les exports publics sont contrôlés depuis `lib.rs` lorsque le crate expose une bibliothèque.
|
||||
- Les binaires utilisent `main.rs` avec les attributs Rust obligatoires.
|
||||
12
migration/khadhroony-bot2-reference/kb_worker/src/main.rs
Normal file
12
migration/khadhroony-bot2-reference/kb_worker/src/main.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
// file: kb_worker/src/main.rs
|
||||
// version: 1
|
||||
|
||||
//! Binary entry point for the `kb_worker` crate.
|
||||
|
||||
#![warn(missing_docs)]
|
||||
#![deny(unreachable_pub)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
fn main() {
|
||||
std::println!("kb_worker skeleton is ready");
|
||||
}
|
||||
Reference in New Issue
Block a user