mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-09 21:26:14 +03: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
8 lines
229 B
Rust
8 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();
|
|
}
|