nostr-rs-relay/build.rs

9 lines
270 B
Rust
Raw Normal View History

fn main() -> Result<(), Box<dyn std::error::Error>> {
#[cfg(feature = "grpc")]
tonic_build::configure()
.build_server(false)
.protoc_arg("--experimental_allow_proto3_optional")
2023-02-25 15:49:35 -05:00
.compile(&["proto/nauthz.proto"], &["proto"])?;
Ok(())
}