conf 0.4.5

A derive-based config parser for CLI args, env, and structured config files
Documentation
1
2
3
4
5
6
pub fn str_to_bool(src: &str) -> bool {
    !matches!(
        src.to_lowercase().as_str(),
        "" | "0" | "n" | "no" | "f" | "false" | "off"
    )
}