summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-01-24 09:51:57 -0800
committerRyan Leckey <leckey.ryan@gmail.com>2017-01-24 09:51:57 -0800
commitbe7e249e71aa5ee37ee97b84deee50daaa10510c (patch)
tree34e90c5a6b1b4509194bf9d370335c010431c754
parentb5598f7a22a7a43ad291f18ec70b1705b1eb9cd9 (diff)
parent54df21df2eecd889946a47e0deacab4b08000ff7 (diff)
Merge branch 'master' of https://github.com/mehcode/config-rs
-rw-r--r--README.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/README.md b/README.md
index 5db1c30..eb27c35 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,5 @@
# config-rs
-> Application Configuration for Rust
-
-config-rs is a layered configuration system for Rust applications (including [12-factor]).
+> Layered configuration system for Rust applications (with strong support for [12-factor] applications).
[12-factor]: https://12factor.net/config
@@ -17,7 +15,7 @@ config = { git = "https://github.com/mehcode/config-rs.git" }
Configuration is collected in a series of layers, in order from lowest to highest priority.
1. Explicit Default — `config::set_default`
-2. Source — File, Remote (ETCD, Consul, etc.)
+2. Source — File
3. Environment
4. Explicit Set — `config::set`
@@ -60,5 +58,5 @@ assert_eq!(config::get_bool("debug"), Some(false));
// Set an explicit override of a key
confing::set("debug", true);
-assert_eq!(config::get_bool("debug"), true);
+assert_eq!(config::get_bool("debug"), Some(true));
```