diff --git a/build.rs b/build.rs index 8bd42e93..c1c29f00 100644 --- a/build.rs +++ b/build.rs @@ -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)]",