mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 20:01:33 +00:00
77b31d1845
Also, allow proto messages to be deserialized. This is to support translating these messages JS types in a new server implementation based on CloudFlare durable objects. Release Notes: - N/A
7 lines
229 B
Rust
7 lines
229 B
Rust
fn main() {
|
|
let mut build = prost_build::Config::new();
|
|
build
|
|
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
|
|
.compile_protos(&["proto/zed.proto"], &["proto"])
|
|
.unwrap();
|
|
}
|