Skip to main content

kasl/libs/
mod.rs

1//! Core library modules for the kasl application.
2//!
3//! Serves as the main entry point for all kasl library components, providing
4//! a centralized access point to the application's core functionality.
5//!
6//! ## Features
7//!
8//! - **Core Infrastructure**: Configuration, data storage, messaging
9//! - **Activity Monitoring**: Real-time tracking, daemon management, pause analysis
10//! - **Productivity Analysis**: Centralized calculation engine with comprehensive metrics
11//! - **Data Management**: Task lifecycle, reporting, summaries
12//! - **User Interface**: Console rendering, data export, formatting
13//! - **System Integration**: Autostart, updates, secure storage
14//!
15//! ## Usage
16//!
17//! ```rust,no_run
18//! # fn main() -> anyhow::Result<()> {
19//! use kasl::libs::task::Task;
20//! use kasl::db::tasks::Tasks;
21//!
22//! let task = Task::new("Implement feature", "Add user authentication", Some(75));
23//! let mut tasks_db = Tasks::new()?;
24//! tasks_db.insert(&task)?;
25//! # Ok(())
26//! # }
27//! ```
28
29pub mod autostart;
30pub mod config;
31pub mod daemon;
32pub mod data_storage;
33pub mod export;
34pub mod formatter;
35pub mod jira_inbox;
36pub mod locale;
37pub mod messages;
38pub mod monitor;
39pub mod pause;
40pub mod productivity;
41pub mod prompt;
42pub mod report;
43pub mod report_template;
44pub mod secret;
45pub mod stdin_drain;
46pub mod summary;
47pub mod task;
48pub mod update;
49pub mod view;