summaryrefslogtreecommitdiff
path: root/src/info_file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/info_file.rs')
-rw-r--r--src/info_file.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/info_file.rs b/src/info_file.rs
index 634bece..04e5d64 100644
--- a/src/info_file.rs
+++ b/src/info_file.rs
@@ -95,11 +95,11 @@ impl InfoFile {
pub fn parse() -> Result<Self> {
// Read a local `info.toml` if it exists.
let slf = match fs::read_to_string("info.toml") {
- Ok(file_content) => toml_edit::de::from_str::<Self>(&file_content)
+ Ok(file_content) => toml::de::from_str::<Self>(&file_content)
.context("Failed to parse the `info.toml` file")?,
Err(e) => {
if e.kind() == ErrorKind::NotFound {
- return toml_edit::de::from_str(EMBEDDED_FILES.info_file)
+ return toml::de::from_str(EMBEDDED_FILES.info_file)
.context("Failed to parse the embedded `info.toml` file");
}