lcode 0.10.0

An application of terminal write leetcode.一个终端刷力扣的应用
Documentation
use lcode::{cli::run, panic_hook::init_panic_hook};
use lcode_config::global::G_USER_CONFIG;

fn main() {
    init_panic_hook();
    // init config
    _ = &G_USER_CONFIG.config;

    let runtime = tokio::runtime::Builder::new_multi_thread()
        .worker_threads(5) // enough
        .enable_all()
        .build()
        .expect("Failed building the Runtime");

    // use unwrap for trigger panic hook, gracefully exit
    runtime
        .block_on(run())
        .expect("main block_on failed");
}