From cf0c9a2c0d2edf9254f25c6faa7494afcfa00d64 Mon Sep 17 00:00:00 2001 From: Noor Date: Tue, 18 Mar 2025 23:51:55 +0530 Subject: [PATCH] Add serde serialization/deserialization attributes to app_proto and general_proto types --- build.rs | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 092564d..16bb3cd 100644 --- a/build.rs +++ b/build.rs @@ -7,11 +7,27 @@ fn main() -> Result<(), Box> { "#[derive(serde::Serialize, serde::Deserialize)]", ) .type_attribute( - ".vm_proto.InspectOperatorResp", + ".app_proto.MappedPort", "#[derive(serde::Serialize, serde::Deserialize)]", ) .type_attribute( - ".vm_proto.ListOperatorsResp", + ".app_proto.AppResource", + "#[derive(serde::Serialize, serde::Deserialize)]", + ) + .type_attribute( + ".app_proto.AppContract", + "#[derive(serde::Serialize, serde::Deserialize)]", + ) + .type_attribute( + ".app_proto.AppNodeListResp", + "#[derive(serde::Serialize, serde::Deserialize)]", + ) + .type_attribute( + ".general_proto.ListOperatorsResp", + "#[derive(serde::Serialize, serde::Deserialize)]", + ) + .type_attribute( + ".general_proto.InspectOperatorResp", "#[derive(serde::Serialize, serde::Deserialize)]", ) .type_attribute(