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
This commit is contained in:
Christian Decker 2022-03-22 16:49:12 +01:00 committed by Rusty Russell
parent 461a65ba16
commit bf7ad86ef2
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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"