Extract a proto
crate out of rpc
(#12852)
Release Notes: - N/A --------- Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
57c40299a5
commit
77e88c1ded
16 changed files with 856 additions and 727 deletions
7
crates/proto/build.rs
Normal file
7
crates/proto/build.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
fn main() {
|
||||
let mut build = prost_build::Config::new();
|
||||
build
|
||||
.type_attribute(".", "#[derive(serde::Serialize)]")
|
||||
.compile_protos(&["proto/zed.proto"], &["proto"])
|
||||
.unwrap();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue