diff options
author | Ryan Leckey <leckey.ryan@gmail.com> | 2018-07-02 15:26:09 -0700 |
---|---|---|
committer | Ryan Leckey <leckey.ryan@gmail.com> | 2018-07-02 15:26:09 -0700 |
commit | 0226b134bb1871fa4918b52a83073db748bc1b4d (patch) | |
tree | 49b60220b559b264e2e7d0b7f9041d9b4472310a /README.md | |
parent | 5e5f1a7f000dc227070ccb4bd8e0e3c1c4948282 (diff) | |
parent | aa427d992894f4a098bd77b20d9f10801bc916e7 (diff) |
Merge branch 'feature/ini' of https://github.com/woodgear/config-rs
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,7 @@ - Set defaults - Set explicit values (to programmatically override) - - Read from [JSON], [TOML], [YAML] and [HJSON] files + - Read from [JSON], [TOML], [YAML], [HJSON], [INI] files - Read from environment - Loosely typed — Configuration values may be read in any supported type, as long as there exists a reasonable conversion - Access nested fields using a formatted path — Uses a subset of JSONPath; currently supports the child ( `redis.port` ) and subscript operators ( `databases[0].name` ) @@ -19,6 +19,7 @@ [TOML]: https://github.com/toml-lang/toml [YAML]: https://github.com/chyh1990/yaml-rust [HJSON]: https://github.com/hjson/hjson-rust +[INI]: https://github.com/zonyitoo/rust-ini ## Usage @@ -27,6 +28,7 @@ config = "0.8" ``` + - `ini` - Adds support for reading INI files - `json` - Adds support for reading JSON files - `hjson` - Adds support for reading HJSON files - `yaml` - Adds support for reading YAML files |