From 3f6ec191b38b4c60ac2d42ab941b4690f42f7c21 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 11 Nov 2024 15:14:49 +0100 Subject: switch to serde_yml from unmaintained serde_yaml --- src/modules/auth/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/auth/mod.rs') diff --git a/src/modules/auth/mod.rs b/src/modules/auth/mod.rs index 80d02ad..32dd0f2 100644 --- a/src/modules/auth/mod.rs +++ b/src/modules/auth/mod.rs @@ -55,7 +55,7 @@ impl<'de> Deserialize<'de> for Credentials { E: Error, { let path = String::deserialize(value::StrDeserializer::new(val))?; - let c = serde_yaml::from_str(&read_to_string(path).map_err(|io| { + let c = serde_yml::from_str(&read_to_string(path).map_err(|io| { serde::de::Error::custom(format!("cannot read creds file: {io:?}")) })?) .map_err(|e| serde::de::Error::custom(format!("cannot parse creds file: {e:?}")))?; -- cgit v1.2.3-70-g09d2