mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
9 lines
280 B
Rust
9 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();
|
|
}
|