mirror of
https://github.com/OMGeeky/confique.git
synced 2026-01-04 18:50:26 +01:00
Add Config::META to access the configuration definition at runtime
This commit is contained in:
@@ -27,6 +27,8 @@ struct Cat {
|
||||
|
||||
|
||||
fn main() -> Result<(), anyhow::Error> {
|
||||
println!("{:#?}", Conf::META);
|
||||
|
||||
let r = Conf::from_sources(&[
|
||||
&Path::new("examples/files/simple.toml"),
|
||||
&Path::new("examples/files/etc/simple.yaml"),
|
||||
|
||||
Reference in New Issue
Block a user