diff options
-rw-r--r-- | Cargo.toml | 4 | ||||
-rw-r--r-- | src/file/format/mod.rs | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -18,7 +18,7 @@ default = ["toml", "json", "yaml", "hjson","ini"] json = ["serde_json"] yaml = ["yaml-rust"] hjson = ["serde-hjson"] -ini = [] +ini = ["rust-ini"] [dependencies] @@ -30,7 +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" +rust-ini = { version = "^0.12", optional = true } [dev-dependencies] serde_derive = "^1.0.8" diff --git a/src/file/format/mod.rs b/src/file/format/mod.rs index 65e2914..c01c386 100644 --- a/src/file/format/mod.rs +++ b/src/file/format/mod.rs @@ -39,7 +39,7 @@ pub enum FileFormat { /// HJSON (parsed with serde_hjson) #[cfg(feature = "hjson")] Hjson, - /// INI (parsed with serde_hjson) + /// INI (parsed with rust_ini) #[cfg(feature = "ini")] Ini, |