summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-09-13 12:05:22 -0700
committerGitHub <noreply@github.com>2017-09-13 12:05:22 -0700
commitf70a2d406387fb338f842ba22924d3076da97e22 (patch)
tree164597d8e40017ca690c259c75eacee9134f6f5d /src/lib.rs
parent13151213a7b368296c616e0a770fb2c238fff1a0 (diff)
parent9826b2cda730116e148120dafe0fa89bd389626e (diff)
Merge pull request #44 from lemonrock/hjson
Added HJSON (Human-Readable JSON) as a config file format
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bed60b4..b6eb0f6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -5,7 +5,7 @@
//! - Environment variables
//! - Another Config instance
//! - Remote configuration: etcd, Consul
-//! - Files: JSON, YAML, TOML
+//! - Files: JSON, YAML, TOML, HJSON
//! - Manual, programmatic override (via a `.set` method on the Config instance)
//!
//! Additionally, Config supports:
@@ -38,6 +38,9 @@ extern crate serde_json;
#[cfg(feature = "yaml")]
extern crate yaml_rust;
+#[cfg(feature = "hjson")]
+extern crate serde_hjson;
+
mod error;
mod value;
mod de;