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/headers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/headers.rs') diff --git a/src/modules/headers.rs b/src/modules/headers.rs index ad4595a..52686eb 100644 --- a/src/modules/headers.rs +++ b/src/modules/headers.rs @@ -21,8 +21,8 @@ impl NodeKind for HeadersKind { fn name(&self) -> &'static str { "headers" } - fn instanciate(&self, config: serde_yaml::Value) -> Result> { - Ok(Arc::new(serde_yaml::from_value::(config)?)) + fn instanciate(&self, config: serde_yml::Value) -> Result> { + Ok(Arc::new(serde_yml::from_value::(config)?)) } } -- cgit v1.2.3-70-g09d2