pub mod message;
pub mod persistence;
pub mod ui;
pub mod utils;

pub const MAX_MESSAGE_LENGTH: usize = 512;
pub const MAX_USERNAME_LENGTH: usize = 16;
pub const DEFAULT_USERNAME_PREFIX: &str = "myst";
pub const DEFAULT_CHANNEL: &str = "root";
pub const DEFAULT_PASSWORD: &str = "null";

pub const API_CONNECTION_TIMEOUT: u64 = 2;
pub const API_DEFAULT_PORT: u16 = 13337;

pub const INVALID_MESSAGE_IDENT: &str = "ERR";

pub const LOGO: &str = include_str!("../assets/logo.txt");
pub const LOGO_DURATION: u128 = 500;

pub const SAVE_FILE: &str = "savedata.bin";
pub const SAVE_FILE_FUZZY: u64 = 0b0110110001101001011001110110110101100001001000000101100001000100;
