mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-18 21:04:00 +01:00
8 lines
280 B
Rust
8 lines
280 B
Rust
fn main() {
|
|
let builder = tonic_build::configure();
|
|
builder
|
|
.type_attribute(".", "#[derive(serde::Serialize,serde::Deserialize)]")
|
|
.protoc_arg("--experimental_allow_proto3_optional")
|
|
.compile(&["proto/node.proto"], &["proto"])
|
|
.unwrap();
|
|
}
|