From b8200dfff394183216e0bdc10a6f5b85218ce598 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 19 Apr 2024 12:05:36 -0700 Subject: [PATCH] Fix compile --- crates/wit-parser/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wit-parser/src/lib.rs b/crates/wit-parser/src/lib.rs index e72d88ba2c..a9f54bd13c 100644 --- a/crates/wit-parser/src/lib.rs +++ b/crates/wit-parser/src/lib.rs @@ -817,7 +817,7 @@ impl Function { /// This is added for WebAssembly/component-model#332 where @since and @unstable /// annotations were added to WIT. #[derive(Debug, Clone, PartialEq, Eq)] -#[cfg_attr(feature = "serde", derive(serde::Deserialize, Serialize))] +#[cfg_attr(feature = "serde", derive(serde_derive::Deserialize, Serialize))] #[cfg_attr(feature = "serde", serde(rename_all = "lowercase", tag = "type"))] pub enum Stability { /// `@since(version = 1.2.3)`