mirror of
https://github.com/lndk-org/lndk.git
synced 2026-08-14 12:43:05 +02:00
10 lines
357 B
Rust
10 lines
357 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
configure_me_codegen::build_script_auto().unwrap_or_else(|error| error.report_and_exit());
|
|
|
|
// Compile the protos for our grpc server.
|
|
tonic_build::configure()
|
|
.protoc_arg("--experimental_allow_proto3_optional")
|
|
.compile(&["proto/lndkrpc.proto"], &["proto"])?;
|
|
|
|
Ok(())
|
|
}
|