Skip to main content

ccboard_core/
lib.rs

1//! ccboard-core - Core library for ccboard
2//!
3//! Provides parsers, models, store, and file watcher for Claude Code data.
4
5pub mod analytics;
6pub mod cache;
7pub mod error;
8pub mod event;
9pub mod export;
10pub mod live_monitor;
11pub mod models;
12pub mod parsers;
13pub mod pricing;
14pub mod store;
15pub mod usage_estimator;
16pub mod watcher;
17
18pub use analytics::{
19    compute_trends, detect_patterns, forecast_usage, generate_insights, AnalyticsData,
20    ForecastData, Period, TrendDirection, TrendsData, UsagePatterns,
21};
22pub use error::{CoreError, DegradedState, LoadReport};
23pub use event::{DataEvent, EventBus};
24pub use export::{export_billing_blocks_to_csv, export_sessions_to_csv, export_sessions_to_json};
25pub use live_monitor::{detect_live_sessions, LiveSession};
26pub use store::{DataStore, ProjectLeaderboardEntry};
27pub use usage_estimator::{calculate_usage_estimate, SubscriptionPlan, UsageEstimate};
28pub use watcher::FileWatcher;