mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-24 17:49:07 -05:00
9 lines
270 B
Rust
9 lines
270 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
#[cfg(feature = "grpc")]
|
|
tonic_build::configure()
|
|
.build_server(false)
|
|
.protoc_arg("--experimental_allow_proto3_optional")
|
|
.compile(&["proto/nauthz.proto"], &["proto"])?;
|
|
Ok(())
|
|
}
|