From f02201f3b4932cc1ab79d1fbbad92674591203d7 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Tue, 19 Nov 2024 23:19:39 +0200 Subject: [PATCH] fix: serde derives for NewTargetRequest.method --- rust/emerwen-proto/build.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rust/emerwen-proto/build.rs b/rust/emerwen-proto/build.rs index 4df5bd8..c82b625 100644 --- a/rust/emerwen-proto/build.rs +++ b/rust/emerwen-proto/build.rs @@ -6,6 +6,10 @@ fn main() -> Result<(), Box> { "Target.method", "#[derive(serde::Deserialize, serde::Serialize)]", ) + .type_attribute( + "NewTargetRequest.method", + "#[derive(serde::Deserialize, serde::Serialize)]", + ) .type_attribute( "MethodPing", "#[derive(serde::Deserialize, serde::Serialize)]", -- 2.44.1