leetcode_tui_config/
lib.rs

1pub mod clients;
2mod config;
3pub mod constants;
4pub mod error_handling;
5pub mod key;
6pub mod theme;
7pub mod utils;
8
9pub use crate::config::CONFIG;
10use color_eyre::Result;
11pub use log;
12
13pub async fn init() -> Result<()> {
14    constants::init();
15    config::init()?;
16    error_handling::initialize_logging()?;
17    error_handling::initialize_panic_handler()?;
18    Ok(())
19}