From 9826b2cda730116e148120dafe0fa89bd389626e Mon Sep 17 00:00:00 2001 From: Raphael Cohn Date: Fri, 1 Sep 2017 09:06:27 +0100 Subject: Added HJSON (Human-Readable JSON) as a config file format --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') 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; -- cgit v1.2.3