Skip to content

Commit

Permalink
chore: derive every type with serde (GreptimeTeam#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelScofield authored Dec 30, 2024
1 parent a875e97 commit 1a580a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]",
Expand Down

0 comments on commit 1a580a0

Please sign in to comment.