From bf7ad86ef255c2a212869fbc84e2bec12be6c035 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 22 Mar 2022 16:49:12 +0100 Subject: [PATCH] cln-grpc: Rename the grpc plugin and binary Suggested-by: Rusty Russell <@rustyrussell> Changelog-Added: plugins: `cln-grpc` first class GRPC interface for remotely controlling nodes over mTLS authentication --- plugins/Makefile | 6 +++--- plugins/grpc-plugin/Cargo.toml | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/Makefile b/plugins/Makefile index e3cacde4a..b30b988ca 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -179,11 +179,11 @@ CLN_PLUGIN_SRC = $(shell find plugins/src -name "*.rs") ${CLN_PLUGIN_EXAMPLES}: ${CLN_PLUGIN_SRC} (cd plugins; cargo build ${CARGO_OPTS} --examples) -target/${RUST_PROFILE}/grpc-plugin: ${CLN_PLUGIN_SRC} - cargo build ${CARGO_OPTS} --bin grpc-plugin +target/${RUST_PROFILE}/cln-grpc: ${CLN_PLUGIN_SRC} + cargo build ${CARGO_OPTS} --bin cln-grpc ifneq ($(RUST),0) -DEFAULT_TARGETS += $(CLN_PLUGIN_EXAMPLES) target/${RUST_PROFILE}/grpc-plugin +DEFAULT_TARGETS += $(CLN_PLUGIN_EXAMPLES) target/${RUST_PROFILE}/cln-grpc endif include plugins/test/Makefile diff --git a/plugins/grpc-plugin/Cargo.toml b/plugins/grpc-plugin/Cargo.toml index 21e56727d..634248ef2 100644 --- a/plugins/grpc-plugin/Cargo.toml +++ b/plugins/grpc-plugin/Cargo.toml @@ -1,8 +1,12 @@ [package] edition = "2021" -name = "grpc-plugin" +name = "cln-grpc-plugin" version = "0.1.0" +[[bin]] +name = "cln-grpc" +path = "src/main.rs" + [dependencies] anyhow = "1.0" log = "0.4"