diff options
author | metamuffin <metamuffin@disroot.org> | 2024-11-11 15:14:49 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-11-11 15:14:49 +0100 |
commit | 3f6ec191b38b4c60ac2d42ab941b4690f42f7c21 (patch) | |
tree | 4a0d266da9670bd8179406f82a08c05047029fc3 /src/modules/auth/mod.rs | |
parent | c59e34ac28b8af16c522b6f685015770c0be7223 (diff) | |
download | gnix-3f6ec191b38b4c60ac2d42ab941b4690f42f7c21.tar gnix-3f6ec191b38b4c60ac2d42ab941b4690f42f7c21.tar.bz2 gnix-3f6ec191b38b4c60ac2d42ab941b4690f42f7c21.tar.zst |
switch to serde_yml from unmaintained serde_yaml
Diffstat (limited to 'src/modules/auth/mod.rs')
-rw-r--r-- | src/modules/auth/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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:?}")))?; |