summaryrefslogtreecommitdiffstats
path: root/src/file/format/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/file/format/mod.rs')
-rw-r--r--src/file/format/mod.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/file/format/mod.rs b/src/file/format/mod.rs
index 9f6d7d7..b4129e1 100644
--- a/src/file/format/mod.rs
+++ b/src/file/format/mod.rs
@@ -17,9 +17,6 @@ mod json;
#[cfg(feature = "yaml")]
mod yaml;
-#[cfg(feature = "hjson")]
-mod hjson;
-
#[cfg(feature = "ini")]
mod ini;
@@ -43,10 +40,6 @@ pub enum FileFormat {
#[cfg(feature = "yaml")]
Yaml,
- /// HJSON (parsed with serde_hjson)
- #[cfg(feature = "hjson")]
- Hjson,
-
/// INI (parsed with rust_ini)
#[cfg(feature = "ini")]
Ini,
@@ -75,9 +68,6 @@ lazy_static! {
#[cfg(feature = "yaml")]
formats.insert(FileFormat::Yaml, vec!["yaml", "yml"]);
- #[cfg(feature = "hjson")]
- formats.insert(FileFormat::Hjson, vec!["hjson"]);
-
#[cfg(feature = "ini")]
formats.insert(FileFormat::Ini, vec!["ini"]);
@@ -119,9 +109,6 @@ impl FileFormat {
#[cfg(feature = "yaml")]
FileFormat::Yaml => yaml::parse(uri, text),
- #[cfg(feature = "hjson")]
- FileFormat::Hjson => hjson::parse(uri, text),
-
#[cfg(feature = "ini")]
FileFormat::Ini => ini::parse(uri, text),