Add proto3 optional to prost build (#65)

* add proto3 optional to prost build

* also add optional proto flag to livekit_ffi

---------

Co-authored-by: Théo Monnom <[email protected]>
This commit is contained in:
Aaron Spiegel
2023-05-12 12:48:56 +02:00
committed by GitHub
co-authored by Théo Monnom
parent f6954e3faa
commit f2b4373ba4
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@ use std::io::Result;
fn main() -> Result<()> {
let mut prost_build = prost_build::Config::new();
prost_build.protoc_arg("--experimental_allow_proto3_optional");
prost_build.compile_protos(
&[
"protocol/livekit_egress.proto",