zed/crates/rpc2/build.rs
Conrad Irwin 71ad3e1b20 Add rpc2
2023-10-26 11:48:25 +02:00

8 lines
274 B
Rust

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();
}