lcode-config 0.4.0

config mod for [lcode](https://crates.io/crates/lcode)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use lcode_config::{
    config::{LcodeConfig, user_nested::Suffix},
    global::G_USER_CONFIG,
};
use miette::Result;

#[test]
fn serde_conf_work() -> Result<()> {
    LcodeConfig::gen_config(Suffix::Cn)?;
    // let a = read_config::get_user_conf()?;
    // println!(r##"(| a |) -> {:#?}"##, a);
    // let a = &USER_CONFIG.get_suffix();
    // dbg!(a);
    let a = toml::to_string(&*G_USER_CONFIG).unwrap();
    println!("{}", a);

    Ok(())
}