switchgear-components 0.1.24

Component APIs and implementations for Switchgear LNURL load balancer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_prost_build::configure()
        .build_server(false)
        .build_client(true)
        .compile_protos(&["proto/lnd/lightning.proto"], &[])?;

    tonic_prost_build::configure()
        .build_server(false)
        .build_client(true)
        .compile_protos(&["proto/cln/node.proto"], &["proto/cln"])?;

    Ok(())
}