2023-02-11 14:26:08 -05:00
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
2023-02-14 15:18:00 -05:00
|
|
|
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"])?;
|
2023-02-11 14:26:08 -05:00
|
|
|
Ok(())
|
|
|
|
}
|