mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
4f5ab638df
The `optional` keyword was first removed, and then re-added again, and then it was made into an experimental flag. Come on people, decide already which one it is...
8 lines
201 B
Rust
8 lines
201 B
Rust
fn main() {
|
|
let builder = tonic_build::configure();
|
|
builder
|
|
.protoc_arg("--experimental_allow_proto3_optional")
|
|
.compile(&["proto/node.proto"], &["proto"])
|
|
.unwrap();
|
|
}
|