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:
co-authored by
Théo Monnom
parent
f6954e3faa
commit
f2b4373ba4
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user