diff --git a/cln-grpc/Cargo.toml b/cln-grpc/Cargo.toml new file mode 100644 index 000000000..0204e4237 --- /dev/null +++ b/cln-grpc/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "cln-grpc" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0" +log = "0.4" +cln-rpc = { path="../cln-rpc" } +tonic = { version = "^0.5", features = ["tls", "transport"] } +prost = "0.8" +hex = "0.4.3" + +[build-dependencies] +tonic-build = "^0.5" diff --git a/cln-grpc/build.rs b/cln-grpc/build.rs new file mode 100644 index 000000000..17f86d001 --- /dev/null +++ b/cln-grpc/build.rs @@ -0,0 +1,3 @@ +fn main() { + tonic_build::compile_protos("proto/node.proto").unwrap(); +}