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 --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 1317a27..c3789ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,9 +14,10 @@ license = "MIT/Apache-2.0" travis-ci = { repository = "mehcode/config-rs" } [features] -default = ["toml", "json", "yaml"] +default = ["toml", "json", "yaml", "hjson"] json = ["serde_json"] yaml = ["yaml-rust"] +hjson = ["serde-hjson"] [dependencies] lazy_static = "0.2" @@ -26,6 +27,7 @@ nom = "^3.0.0" toml = { version = "^0.4.1", optional = true } serde_json = { version = "^1.0.2", optional = true } yaml-rust = { version = "^0.3.5", optional = true } +serde-hjson = { version = "^0.8.1", optional = true } [dev-dependencies] serde_derive = "^1.0.8" -- cgit v1.2.3