use std::path::PathBuf; use sqlx::SqlitePool; /// Application-wide state shared across all Tauri command invocations. pub struct AppState { /// Connection pool for the app-level metadata database (project registry, /// user settings). Per-project data lives on disk inside each Git repo. pub db: SqlitePool, /// Directory where Mermix stores its own data (the registry database). /// Retained on the state for diagnostics and future use. #[allow(dead_code)] pub data_dir: PathBuf, }