From 0114be25b4ba27d82b403249856ebc862bf2b2d8 Mon Sep 17 00:00:00 2001 From: Lia Lenckowski Date: Sun, 1 Oct 2023 22:52:58 +0200 Subject: change from toml to yaml; version bump Signed-off-by: metamuffin --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { 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) } } -- cgit v1.2.3-70-g09d2