rust: Roll the cln-grpc and cln-rpc versions due to schema changes

Commit ebaa25d9e2fd5582b7fe0e3ec482c1627996e4d7 introduced a couple of
breaking changes to the schema and proto files. The bump ensures
backwards compat for users that have indicated `~0.4` as their version
constraint.

Changelog-Changed: rust: New version of `cln-rpc==0.5` and `cln-grpc==0.5`
This commit is contained in:
Christian Decker
2025-08-13 17:41:09 +02:00
committed by Rusty Russell
parent 94c1cf5879
commit 45ba719068
8 changed files with 12 additions and 13 deletions

6
Cargo.lock generated
View File

@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
version = 4
[[package]]
name = "addr2line"
@@ -482,7 +482,7 @@ dependencies = [
[[package]]
name = "cln-grpc"
version = "0.4.1"
version = "0.5.0"
dependencies = [
"anyhow",
"bitcoin 0.31.2",
@@ -554,7 +554,7 @@ dependencies = [
[[package]]
name = "cln-rpc"
version = "0.4.0"
version = "0.5.0"
dependencies = [
"anyhow",
"bitcoin 0.31.2",

View File

@@ -1,6 +1,6 @@
[package]
name = "cln-grpc"
version = "0.4.1"
version = "0.5.0"
edition = "2021"
license = "MIT"
description = "The Core Lightning API as grpc primitives. Provides the bindings used to expose the API over the network."
@@ -15,7 +15,7 @@ server = ["cln-rpc"]
[dependencies]
anyhow = "1.0"
log = "0.4"
cln-rpc = { path = "../cln-rpc/", version = "0.4", optional = true }
cln-rpc = { path = "../cln-rpc/", version = "0.5", optional = true }
cfg-if = "1.0"
serde = { version = "1.0", features = ["derive"] }
tonic = { version = "0.11", features = ["tls", "transport"] }
@@ -29,7 +29,6 @@ tokio-util = "0.7.10"
[dev-dependencies]
serde_json = "1.0.72"
cln-rpc = { path = "../cln-rpc/", version = "0.4" }
[build-dependencies]
tonic-build = "0.11"

View File

@@ -1,6 +1,6 @@
[package]
name = "cln-rpc"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
description = "An async RPC client for Core Lightning."

View File

@@ -27,4 +27,4 @@ tracing = { version = "^0.1", features = ["async-await", "log"] }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", ] }
cln-grpc = { version = "0.4", path = "../cln-grpc" }
cln-grpc = { version = "0.5", path = "../cln-grpc" }

View File

@@ -17,9 +17,9 @@ anyhow = "1.0"
log = "0.4"
rcgen = { version = "0.13.1", features = ["pem", "x509-parser"] }
prost = "0.12"
cln-grpc = { version = "0.4", features = ["server"], path = "../../cln-grpc"}
cln-grpc = { version = "0.5", features = ["server"], path = "../../cln-grpc"}
cln-plugin = { version = "0.4", path = "../../plugins" }
cln-rpc = { version = "0.4", path = "../../cln-rpc" }
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
serde_json = "1.0.113"
[dependencies.tokio]

View File

@@ -15,7 +15,7 @@ path = "src/service.rs"
anyhow = "1.0"
async-trait = "0.1"
cln-plugin = { version = "0.4", path = "../" }
cln-rpc = { version = "0.4", path = "../../cln-rpc" }
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
hex = "0.4"
log = "0.4"
rand = "0.9"

View File

@@ -32,6 +32,6 @@ log-panics = "2"
socketioxide = "0.15"
cln-plugin = { version = "0.4", path = "../../plugins" }
cln-rpc = { version = "0.4", path = "../../cln-rpc" }
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
utoipa-swagger-ui = { version = "9.0.0", features = ["vendored", "axum"] }

View File

@@ -24,5 +24,5 @@ tokio-rustls = { version = "0.26", default-features = false, features = ["ring",
log-panics = "2"
cln-plugin = { version = "0.4", path = "../../plugins" }
cln-rpc = { version = "0.4", path = "../../cln-rpc" }
cln-rpc = { version = "0.5", path = "../../cln-rpc" }