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:
parent
80d3eafa30
commit
c9738a233e
13 changed files with 1571 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue