Files
zed/crates/proto/build.rs
Remco Smits 2c45c57f7b Collab: Sync breakpoints (#68)
* Sync breakpoints on toggle to other client

* WIP Seperate local/remote in dap store

* WIP initial breakpoints sync

Co-Authored-By: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com>

* Get zed to compile

* Don't remove dap data when you unshare

* Add breakpoints table migration

* Update collab db when changing breakpoints

* Store breakpoints inside collab db when you change them

* Clean up

* Fix incorrect clearing of breakpoints during collab sync

* Get breakpoints to sync correctly on project join

We now send SynchronizedBreakpoints within the JoinProjectResponse
and use those breakpoints to initialize a remote DapStore.

* Set breakpoints from proto method

---------

Co-authored-by: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
2024-11-25 15:09:56 +01:00

11 lines
409 B
Rust

fn main() {
let mut build = prost_build::Config::new();
build
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
.type_attribute("ProjectPath", "#[derive(Hash, Eq)]")
.type_attribute("Breakpoint", "#[derive(Hash, Eq)]")
.type_attribute("Anchor", "#[derive(Hash, Eq)]")
.compile_protos(&["proto/zed.proto"], &["proto"])
.unwrap();
}