From 3db1fb81303bdd5a92def20edc21a29d9f0768ab Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Thu, 10 Sep 2020 00:23:04 +0800 Subject: [PATCH] fix: feature use_serde --- Cargo.toml | 2 +- src/util_file.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 58bf4e9..bbb40ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust_util" -version = "0.6.8" +version = "0.6.9" authors = ["Hatter Jiang "] edition = "2018" description = "Hatter's Rust Util" diff --git a/src/util_file.rs b/src/util_file.rs index 9e54b82..65eb5ac 100644 --- a/src/util_file.rs +++ b/src/util_file.rs @@ -124,7 +124,7 @@ pub fn read_json_config(config: Option, files: &[String]) -> XResult< match config_path_buf_opt { None => Ok(None), Some(config_path_buf) => { - information!("Read config: {}", config_path_buf); + // information!("Read config: {}", config_path_buf); let config_content = fs::read_to_string(config_path_buf)?; Ok(Some((config_path_buf, serde_json::from_str(&config_content)?))) }