mirror of
https://github.com/lndk-org/lndk.git
synced 2026-08-13 12:33:05 +02:00
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.
10 lines
370 B
Rust
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(())
|
|
}
|