rush_sync_server/core/
prelude.rs

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