mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-21 16:59:06 -05:00
8 lines
241 B
Rust
8 lines
241 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
tonic_build::configure()
|
|
.build_server(false)
|
|
.protoc_arg("--experimental_allow_proto3_optional")
|
|
.compile(&["proto/nauthz.proto"], &["proto"])?;
|
|
Ok(())
|
|
}
|