//! Constants and type aliases for `AppState`.
use NonZeroUsize;
/// Maximum number of recent searches to retain (most-recent-first).
pub const RECENT_CAPACITY: usize = 20;
/// What: Provide the non-zero capacity used by the LRU recent cache.
///
/// Inputs: None.
///
/// Output:
/// - Non-zero capacity for the recent LRU cache.
///
/// Details:
/// - Uses a const unchecked constructor because the capacity constant is guaranteed
/// to be greater than zero.
pub const
/// File database sync result type.
pub type FileSyncResult = Arc;