Skip to content

Commit

Permalink
update build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
nhulston committed Feb 18, 2025
1 parent 41d7bfc commit 633543c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions trace-protobuf/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ fn generate_protobuf() {
config.type_attribute("TraceChunk", "#[derive(Deserialize, Serialize)]");

config.type_attribute("SpanLink", "#[derive(Deserialize, Serialize)]");
config.field_attribute(".pb.SpanLink.traceID_high", "#[serde(default)]");
config.field_attribute(".pb.SpanLink.attributes", "#[serde(default)]");
config.field_attribute(".pb.SpanLink.tracestate", "#[serde(default)]");
config.field_attribute(".pb.SpanLink.flags", "#[serde(default)]");

config.type_attribute("Span", "#[derive(Deserialize, Serialize)]");
config.field_attribute(
Expand Down

0 comments on commit 633543c

Please sign in to comment.