//! keydr — terminal typing tutor with adaptive learning.
//!
//! All application code lives here, including the TUI event loop (`run`).
//! `src/main.rs` is a thin wrapper so nothing is compiled twice; see
//! docs/BUILDING.md. New modules belong in this file, not in main.rs.

rust_i18n::i18n!("locales", fallback = "en");

// Public: used by the binary, benchmarks, and generate_test_profiles.
pub mod config;
pub mod engine;
pub mod keyboard;
pub mod l10n;
pub mod session;
pub mod store;

mod app;
mod event;
mod generator;
mod i18n;
mod run;
mod ui;

pub use run::run;
