rush_sync_server/core/
prelude.rs

1// ✅ CORE ESSENTIALS - überall gebraucht
2pub use crate::core::config::Config;
3pub use crate::core::error::{AppError, Result};
4
5// ✅ STANDARD LIBRARY ESSENTIALS
6pub use std::collections::HashMap;
7pub use std::io::{self, Write};
8pub use std::time::{Duration, Instant};
9
10// ✅ CROSSTERM BASICS (nur die wichtigsten)
11pub use crossterm::event::{KeyCode, KeyEvent};
12
13// ✅ RATATUI BASICS
14pub use ratatui::style::Color;
15
16// ✅ i18n INTEGRATION - VOLLSTÄNDIG
17pub use crate::i18n::{
18    clear_translation_cache, get_available_languages, get_color_category_for_display,
19    get_command_translation, get_current_language, get_translation, has_translation, set_language,
20    TranslationError,
21};
22
23// ✅ i18n MAKROS - für einfache Nutzung
24pub use crate::{t, tc};
25
26// ✅ ZUSÄTZLICHE UTILITIES für häufige Operationen
27pub use crate::ui::color::AppColor;
28
29// ✅ LOGGING INTEGRATION - damit log! Makros i18n nutzen können
30pub use log::{debug, error, info, trace, warn};
31
32// ✅ RE-EXPORTS für bessere API
33pub use crate::commands::{Command, CommandHandler, CommandRegistry};
34pub use crate::input::keyboard::KeyAction;
35pub use crate::output::display::MessageDisplay;