mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 02:37:05 +00:00
003bbe9aab
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
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();
|
|
}
|