Add serde serialization/deserialization attributes to app_proto and general_proto types

This commit is contained in:
Noor 2025-03-18 23:51:55 +05:30
parent e434b70a57
commit cf0c9a2c0d
Signed by: noormohammedb
GPG Key ID: D83EFB8B3B967146

@ -7,11 +7,27 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
"#[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(