#load #overrides #env #folders #default #environment

icee-config-rs

Wrapper for config.rs to easily load configuration folders with env based overrides

3 releases

0.1.2 Jan 18, 2021
0.1.1 Dec 28, 2020
0.1.0 Dec 23, 2020

#815 in Configuration


Used in icee-rabbit-rs

Apache-2.0/MIT

7KB
75 lines

icee-config-rs



Wrapper for config.rs to easily load configuration folders with env based overrides

  • Supported formats ["toml", "ini", "json", "hjson", "yaml", "yml"]
  • Overrides with folder specified in APP_ENV (default 'dev')
  • Overrides with environment variables

Dependencies

~1.4–2.2MB
~47K SLoC