mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-22 17:19:07 -05:00
79abd981e1
This will allow the gRPC example to compile. Fix for https://github.com/scsibug/nostr-rs-relay/issues/141
8 lines
252 B
Rust
8 lines
252 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
tonic_build::configure()
|
|
.build_server(true)
|
|
.protoc_arg("--experimental_allow_proto3_optional")
|
|
.compile(&["../../proto/nauthz.proto"], &["../../proto"])?;
|
|
Ok(())
|
|
}
|