aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index c250b80..c02af52 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -84,7 +84,7 @@ where
impl Config {
pub fn load(path: &str) -> anyhow::Result<Config> {
let raw = read_to_string(path).context("reading config file")?;
- let config: Config = toml::from_str(&raw).context("parsing config")?;
+ let config: Config = serde_yaml::from_str(&raw).context("parsing config")?;
Ok(config)
}
}