diff --git a/crates/nxmesh-proto/build.rs b/crates/nxmesh-proto/build.rs index 1741d2c..12e73d1 100644 --- a/crates/nxmesh-proto/build.rs +++ b/crates/nxmesh-proto/build.rs @@ -4,6 +4,7 @@ fn main() -> Result<()> { tonic_prost_build::configure() .build_server(true) .build_client(true) + .protoc_arg("--experimental_allow_proto3_optional") .compile_protos(&["proto/agent.proto"], &["proto"])?; Ok(()) }