feat: add experimental support for proto3 optional fields in Nginx handler

This commit is contained in:
2026-06-16 11:09:28 +00:00
parent 24d3f46a5c
commit 4376167d74

View File

@@ -4,6 +4,7 @@ fn main() -> Result<()> {
tonic_prost_build::configure() tonic_prost_build::configure()
.build_server(true) .build_server(true)
.build_client(true) .build_client(true)
.protoc_arg("--experimental_allow_proto3_optional")
.compile_protos(&["proto/agent.proto"], &["proto"])?; .compile_protos(&["proto/agent.proto"], &["proto"])?;
Ok(()) Ok(())
} }