summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index a6f7d1b..196b489 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -10,7 +10,7 @@ use serde::{
de::{value, Error, SeqAccess, Visitor},
Deserialize, Deserializer, Serialize,
};
-use serde_yaml::value::TaggedValue;
+use serde_yml::value::TaggedValue;
use std::{
collections::BTreeMap,
fmt,
@@ -180,7 +180,7 @@ impl Config {
pub fn load(path: &Path) -> anyhow::Result<Config> {
info!("loading config from {path:?}");
let raw = read_to_string(path).context("reading config file")?;
- let config: Config = serde_yaml::from_str(&raw).context("during parsing")?;
+ let config: Config = serde_yml::from_str(&raw).context("during parsing")?;
Ok(config)
}
}