mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 02:48:34 +00:00
8 lines
274 B
Rust
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();
|
|
}
|