lndk/build.rs
Maurice e07a412e6f
chore: bump tonic related crates
This commit upgrades all tonic related crates to the latest
version. Also uses latest own organization tonic_lnd fork.
Finally, fixes all breaking changes of these versions.
2025-09-09 19:07:11 -03:00

10 lines
370 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_prost_build::configure()
.protoc_arg("--experimental_allow_proto3_optional")
.compile_protos(&["proto/lndkrpc.proto"], &["proto"])?;
Ok(())
}