Serialize payload in "handle message" span

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2022-04-29 17:34:22 +02:00
parent f4e5cb14bf
commit 003bbe9aab
3 changed files with 7 additions and 2 deletions

View file

@ -2,6 +2,7 @@ fn main() {
let mut build = prost_build::Config::new();
// build.protoc_arg("--experimental_allow_proto3_optional");
build
.type_attribute(".", "#[derive(serde::Serialize)]")
.compile_protos(&["proto/zed.proto"], &["proto"])
.unwrap();
}