Expand description
Core data models and types for tuiserial
This crate provides the fundamental data structures, enums, and state management types used throughout the tuiserial application.
§Architecture
The core is organized into modular components:
types: Basic type definitions and enums (DisplayMode, TxMode, Parity, etc.)notification: Notification system for user messageslog: Log entries and message log for serial communicationconfig: Serial port configurationstate: Main application state managementi18n: Internationalization support
Re-exports§
pub use config::SerialConfig;pub use log::LogDirection;pub use log::LogEntry;pub use log::MessageLog;pub use log::MAX_LOG_LINES;pub use menu_def::MenuAction;pub use menu_def::MenuBar;pub use menu_def::MENU_BAR;pub use notification::Notification;pub use notification::NotificationLevel;pub use state::AppState;pub use types::AppendMode;pub use types::DisplayMode;pub use types::FlowControl;pub use types::FocusedField;pub use types::Language;pub use types::MenuState;pub use types::Parity;pub use types::TxMode;pub use chrono;pub use ratatui;pub use serde;pub use serde_json;