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

33
khbb_lib/README.md Normal file
View File

@@ -0,0 +1,33 @@
<!-- file: khbb_lib/README.md -->
# khbb_lib
Core library for the `khadhroony-bobot` workspace.
## Goals
- centralize reusable logic
- expose explicit APIs to binaries
- provide Solana RPC HTTP / WS / gRPC integrations
- provide storage and domain layers
- avoid hidden logic in binaries
## Rules
- no `anyhow`
- no `thiserror`
- no `?`
- no `unwrap` / `expect`
- explicit error handling
- async first
- `tracing`
- no `mod.rs`
- no `pub mod`
- `pub use` only from `lib.rs`
## Initial scope
- config loading
- tracing initialization
- SQLite connectivity
- listener runtime bootstrap