mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 15:44:31 +03:00
003bbe9aab
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
9 lines
274 B
Rust
9 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();
|
|
}
|