{
"includes": [],
"files": [],
"output": "src/pb",
"opts": [
{
"scope": "type",
"description": "serde support for message",
"attr": "#[derive(serde::Serialize, serde::Deserialize)]\n#[serde(default)]",
"paths": []
},
{
"scope": "type",
"description": "serde support for enum",
"attr": "#[derive(serde::Serialize, serde::Deserialize)]\n#[serde(rename_all = \"lowercase\")]",
"paths": []
},
{
"scope": "field",
"description": "skip string default values",
"attr": "#[serde(skip_serializing_if = \"String::is_empty\", default)]",
"paths": []
},
{
"scope": "field",
"description": "skip null values",
"attr": "#[serde(deserialize_with = \"prost_helper::deserialize_null_default\")]",
"paths": []
},
{
"scope": "field",
"description": "skip 0 for any num",
"attr": "#[serde(skip_serializing_if = \"prost_helper::is_zero\")]",
"paths": []
},
{
"scope": "field",
"description": "skip the field for serialization",
"attr": "#[serde(skip_serializing)]",
"paths": []
},
{
"scope": "bytes",
"description": "use bytes::Bytes for given bytes field",
"paths": []
},
{
"scope": "btree_map",
"description": "use BtreeMap for given map field",
"paths": []
}
]
}