From 79abd981e11af624ea6788559a9f8897938a7b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Navr=C3=A1til?= Date: Mon, 7 Aug 2023 16:42:19 +0200 Subject: [PATCH] fix: build gRPC server code This will allow the gRPC example to compile. Fix for https://github.com/scsibug/nostr-rs-relay/issues/141 --- examples/nauthz/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nauthz/build.rs b/examples/nauthz/build.rs index 5bc38a9..ada482b 100644 --- a/examples/nauthz/build.rs +++ b/examples/nauthz/build.rs @@ -1,6 +1,6 @@ fn main() -> Result<(), Box> { tonic_build::configure() - .build_server(false) + .build_server(true) .protoc_arg("--experimental_allow_proto3_optional") .compile(&["../../proto/nauthz.proto"], &["../../proto"])?; Ok(())