Vendor LiveKit protocol (#11672)

This PR vendors the protobuf files from the LiveKit protocol so that we
don't need to have that entire LiveKit protocol repo as a submodule.

---

Eventually I would like to replace this with the
[`livekit-protocol`](https://crates.io/crates/livekit-protocol) crate,
but there is some churn that needs to happen for that.

The main problem is that we're currently on a different version of
`prost` used by `livekit-protocol`, and upgrading our version of `prost`
means that we now need to source `protoc` ourselves (since it is no
longer available to be compiled from source as part of `prost-build`).

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-05-10 14:18:40 -04:00 committed by GitHub
parent 80d3eafa30
commit c9738a233e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 1571 additions and 5 deletions

View file

@ -1,6 +1,9 @@
fn main() {
prost_build::Config::new()
.type_attribute("SendDataResponse", "#[allow(clippy::empty_docs)]")
.compile_protos(&["protocol/livekit_room.proto"], &["protocol"])
.compile_protos(
&["vendored/protocol/livekit_room.proto"],
&["vendored/protocol"],
)
.unwrap();
}