chore: derive every type with serde (#206)

This commit is contained in:
LFC
2024-12-30 16:30:43 +08:00
committed by GitHub
parent a875e97644
commit 1a580a0854
+1 -4
View File
@@ -22,10 +22,7 @@ fn main() {
tonic_build::configure()
.file_descriptor_set_path(out_dir.join("greptime_grpc_desc.bin"))
.enum_attribute(
"SemanticType",
"#[derive(::serde::Serialize, ::serde::Deserialize)]",
)
.type_attribute(".", "#[derive(::serde::Serialize, ::serde::Deserialize)]")
.enum_attribute(
"region.RegionRequest.body",
"#[derive(strum_macros::AsRefStr)]",