[#141] - Fix Build - Set build_server to true

This will allow to compile the gRPC example.

Fix for #141
This commit is contained in:
Václav Navrátil 2023-08-07 16:42:19 +02:00 committed by GitHub
parent fb751ba252
commit 7256f96a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_server(false)
.build_server(true)
.protoc_arg("--experimental_allow_proto3_optional")
.compile(&["../../proto/nauthz.proto"], &["../../proto"])?;
Ok(())