34 lines
592 B
Markdown
34 lines
592 B
Markdown
<!-- 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
|