Salak is a multi layered configuration loader and zero-boilerplate configuration parser, with many predefined sources.
Please refer to salak doc.
Please notice that salak-0.9.*
is totally rewrited, so the APIs may changes much, and some functions may be removed. They will be added in later version.
```rust use salak::*;
struct Config {
#[salak(default = false)]
verbose: bool,
optional: Option
salakfactory is out-of-box crate for using well known components, such as redis, postgresql, etc. ```rust use salak::*; use salakfactory::{redis_default::RedisConfig, Factory};
fn main() -> Result<(), PropertyError> {
let env = Salak::new()?;
let redispool = env.build::