cosmic-cinder 0.1.10

Rust terminal UI for Phoenix perpetuals on Solana
Documentation
//! TUI runtime state: chart history, parsed book snapshot, trading panel.

use chrono::Utc;

pub mod book;
pub mod liquidation_feed_view;
pub mod markers;
pub mod market;
pub mod orders_view;
pub mod position_leaderboard_view;
pub mod positions_view;
pub mod trade_panel;
pub mod tui;
pub mod updates;

pub use book::*;
pub use liquidation_feed_view::*;
pub use markers::*;
pub use market::*;
pub use orders_view::*;
pub use position_leaderboard_view::*;
pub use positions_view::*;
pub use trade_panel::*;
pub use tui::*;
pub use updates::*;

/// Returns a timestamp string formatted as `[HH:MM:SS UTC]`.
pub fn make_status_timestamp() -> String {
    format!(" {}", Utc::now().format("%H:%M:%S"))
}