diff --git a/Cargo.lock b/Cargo.lock index 6307f8c1e6c1..1c0ae356395f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -215,7 +215,7 @@ version = "0.1.4" dependencies = [ "anyhow", "bitcoin", - "cln-rpc", + "fedimint-cln-rpc", "hex", "log", "prost", @@ -231,7 +231,7 @@ dependencies = [ "anyhow", "cln-grpc", "cln-plugin", - "cln-rpc", + "fedimint-cln-rpc", "log", "prost", "rcgen", @@ -256,23 +256,6 @@ dependencies = [ "tokio-util", ] -[[package]] -name = "cln-rpc" -version = "0.1.4" -dependencies = [ - "anyhow", - "bitcoin", - "bytes", - "env_logger", - "futures-util", - "hex", - "log", - "serde", - "serde_json", - "tokio", - "tokio-util", -] - [[package]] name = "data-encoding" version = "2.4.0" @@ -353,6 +336,23 @@ dependencies = [ "instant", ] +[[package]] +name = "fedimint-cln-rpc" +version = "0.4.0" +dependencies = [ + "anyhow", + "bitcoin", + "bytes", + "env_logger", + "futures-util", + "hex", + "log", + "serde", + "serde_json", + "tokio", + "tokio-util", +] + [[package]] name = "fixedbitset" version = "0.4.2" diff --git a/cln-grpc/Cargo.toml b/cln-grpc/Cargo.toml index 3f9a96350b63..b8ca6ff641ab 100644 --- a/cln-grpc/Cargo.toml +++ b/cln-grpc/Cargo.toml @@ -15,7 +15,7 @@ server = ["cln-rpc"] [dependencies] anyhow = "1.0" log = "0.4" -cln-rpc = { path="../cln-rpc/", version = "^0.1", optional = true } +cln-rpc = { package = "fedimint-cln-rpc", path="../cln-rpc/", version = "^0.4", optional = true } tonic = { version = "0.8", features = ["tls", "transport"] } prost = "0.11" hex = "0.4.3" diff --git a/cln-rpc/Cargo.toml b/cln-rpc/Cargo.toml index f1fe210a9a80..3e40424692b0 100644 --- a/cln-rpc/Cargo.toml +++ b/cln-rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "cln-rpc" -version = "0.1.4" +name = "fedimint-cln-rpc" +version = "0.4.0" edition = "2021" license = "MIT" description = "An async RPC client for Core Lightning." diff --git a/plugins/grpc-plugin/Cargo.toml b/plugins/grpc-plugin/Cargo.toml index f68a250e938e..e3157bd865ef 100644 --- a/plugins/grpc-plugin/Cargo.toml +++ b/plugins/grpc-plugin/Cargo.toml @@ -22,6 +22,7 @@ path = "../../plugins" [dependencies.cln-rpc] path = "../../cln-rpc" +package = "fedimint-cln-rpc" [dependencies.tokio] features = ["net", "rt-multi-thread"]