summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsaber.wu <saber.wu@trantect.com>2018-06-14 17:09:43 +0800
committersaber.wu <saber.wu@trantect.com>2018-06-15 11:13:53 +0800
commitba6014543dfb4040921bb4809c6b293cfdf33c84 (patch)
tree523708c74eb31e5c861c7e474f092fafbd416879 /README.md
parente8fa9fee96185ddd18ebcef8a925c75459111edb (diff)
support ini
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index ea2d4b0..b77daa9 100644
--- a/README.md
+++ b/README.md
@@ -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