use-config 0.1.0

Facade crate for primitive RustUse configuration vocabulary
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# use-config

Facade crate for the `use-config` primitive configuration vocabulary set.

`use-config` reexports focused crates for configuration keys, values, sources, layers, profiles, and safe secret references. It is not a configuration framework and does not load files, parse formats, read environment variables, or manage application settings.

```rust
use use_config::prelude::{ConfigPath, ConfigValue};

let path = ConfigPath::parse("server.port").unwrap();
let value = ConfigValue::from(8080_i64);

assert_eq!(path.to_string(), "server.port");
assert_eq!(value.as_i64(), Some(8080));
```

Use the focused crates directly when you only need one part of the vocabulary.