1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
//! # ratkit - Core runtime for ratkit TUI components
//!
//! ratkit provides the core runtime (Runner + Layout Manager) and optional
//! re-exports for ratkit TUI components. Enable only the features you need or
//! use the `all` feature for the full bundle.
//!
//! # Installation
//!
//! ```toml
//! [dependencies]
//! ratkit = "0.2.15"
//! ```
//!
//! For the core runtime only:
//!
//! ```toml
//! ratkit = "0.2.15"
//! ```
//!
//! For selected components:
//!
//! ```toml
//! ratkit = { version = "0.2.15", default-features = false, features = ["tree-view", "toast"] }
//! ```
//!
//! For the full bundle:
//!
//! ```toml
//! ratkit = { version = "0.2.15", features = ["all"] }
//! ```
//!
//! # Quick Start
//!
//! ```rust,no_run
//! use ratkit::prelude::*;
//! use ratatui::Frame;
//!
//! struct MyApp;
//!
//! impl CoordinatorApp for MyApp {
//! fn on_event(&mut self, _event: CoordinatorEvent) -> LayoutResult<CoordinatorAction> {
//! Ok(CoordinatorAction::Continue)
//! }
//!
//! fn on_draw(&mut self, _frame: &mut Frame) {}
//! }
//!
//! fn main() -> std::io::Result<()> {
//! run(MyApp, RunnerConfig::default())
//! }
//! ```
//!
//! With widget features enabled, import UI primitives from `ratkit::widgets`.
//!
//! # Feature Flags
//!
//! - `default`: Core runtime only (Runner + Layout Manager)
//! - `all`: All widgets and services
//! - `full`: Alias for `all`
//! - `widgets`: All UI widgets
//! - `services`: All service components
//! - Individual feature flags for each component
/// Core runtime pieces for ratkit.
/// Feature-gated primitive widget modules.
/// Feature-gated widget modules (includes primitives for backward compatibility).
/// Feature-gated service modules.
pub use ;
pub use ;
/// Runner-first imports for applications.