Skip to main content

tuitbot_core/
lib.rs

1/// Core library for the Tuitbot autonomous X growth assistant.
2///
3/// This crate contains all business logic including configuration management,
4/// error types, startup helpers, and shared types used by the CLI binary.
5pub mod automation;
6pub mod config;
7pub mod content;
8pub mod context;
9pub mod error;
10pub mod llm;
11pub mod mcp_policy;
12pub mod safety;
13pub mod scoring;
14pub mod startup;
15pub mod storage;
16pub mod strategy;
17pub mod x_api;
18
19pub use error::*;
20
21/// Returns the version of the tuitbot-core library.
22pub fn version() -> &'static str {
23    env!("CARGO_PKG_VERSION")
24}