From ba6014543dfb4040921bb4809c6b293cfdf33c84 Mon Sep 17 00:00:00 2001 From: "saber.wu" Date: Thu, 14 Jun 2018 17:09:43 +0800 Subject: support ini --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 8ee4d4c..8a33e4d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,10 +14,12 @@ license = "MIT/Apache-2.0" travis-ci = { repository = "mehcode/config-rs" } [features] -default = ["toml", "json", "yaml", "hjson"] +default = ["toml", "json", "yaml", "hjson","ini"] json = ["serde_json"] yaml = ["yaml-rust"] hjson = ["serde-hjson"] +ini = [] + [dependencies] lazy_static = "1.0" @@ -28,6 +30,7 @@ toml = { version = "^0.4.1", optional = true } serde_json = { version = "^1.0.2", optional = true } yaml-rust = { version = "^0.4", optional = true } serde-hjson = { version = "^0.8.1", optional = true } +rust-ini = "0.12.1" [dev-dependencies] serde_derive = "^1.0.8" -- cgit v1.2.3