Skip to content

Commit

Permalink
fix: build gRPC server code
Browse files Browse the repository at this point in the history
This will allow the gRPC example to compile.

Fix for #141
  • Loading branch information
aidik authored and scsibug committed Aug 9, 2023
1 parent b1957ab commit 79abd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nauthz/build.rs
Original file line number Diff line number Diff line change
@@ -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(())
Expand Down

0 comments on commit 79abd98

Please sign in to comment.