Skip to main content

pacsea/app/
mod.rs

1//! Pacsea application module (split from a single large file into submodules).
2//!
3//! This module organizes the TUI runtime into smaller files to improve
4//! maintainability and keep individual files under 500 lines.
5
6/// Shared helpers for the signature-validated install-list caches.
7mod cache_common;
8/// Dependency cache for storing resolved dependency information.
9mod deps_cache;
10/// File cache for storing package file information.
11mod files_cache;
12/// Persistence layer for saving and loading application state.
13mod persist;
14/// Recent queries and history management.
15mod recent;
16/// Runtime event loop and background workers.
17pub(crate) mod runtime;
18pub mod sandbox_cache;
19pub mod services_cache;
20/// Terminal setup and restoration utilities.
21pub mod terminal;
22
23// Re-export the public entrypoint so callers keep using `app::run(...)`.
24pub use runtime::run;
25
26// Re-export functions needed by event handlers
27pub use runtime::init::{apply_settings_to_app_state, initialize_locale_system};