cln-grpc 0.4.0

The Core Lightning API as grpc primitives. Provides the bindings used to expose the API over the network.
Documentation
1
2
3
4
5
6
7
8
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();
}