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 auth;
6pub mod automation;
7pub mod config;
8pub mod content;
9pub mod context;
10pub mod error;
11pub mod llm;
12pub mod mcp_policy;
13pub mod mutation_gateway;
14pub mod net;
15pub mod safety;
16pub mod scoring;
17pub mod startup;
18pub mod storage;
19pub mod strategy;
20pub mod toolkit;
21pub mod workflow;
22pub mod x_api;
23
24pub use error::*;
25
26/// Returns the version of the tuitbot-core library.
27pub fn version() -> &'static str {
28 env!("CARGO_PKG_VERSION")
29}