declarative-env 0.1.1

This crate parses and populates a struct with the environmental variables defined in a file, for having the documentation and the code always synchronized.
Documentation
1
2
3
4
5
use declarative_env::declarative_env;

#[declarative_env(path = "./tests/01-basic-load/spec.hjson", format = "hjson")]
struct MyConfig;