Skip to content

Commit 45ba719

Browse files
cdeckerrustyrussell
authored andcommitted
rust: Roll the cln-grpc and cln-rpc versions due to schema changes
Commit ebaa25d 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`
1 parent 94c1cf5 commit 45ba719

File tree

8 files changed

+12
-13
lines changed

8 files changed

+12
-13
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cln-grpc/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cln-grpc"
3-
version = "0.4.1"
3+
version = "0.5.0"
44
edition = "2021"
55
license = "MIT"
66
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"]
1515
[dependencies]
1616
anyhow = "1.0"
1717
log = "0.4"
18-
cln-rpc = { path = "../cln-rpc/", version = "0.4", optional = true }
18+
cln-rpc = { path = "../cln-rpc/", version = "0.5", optional = true }
1919
cfg-if = "1.0"
2020
serde = { version = "1.0", features = ["derive"] }
2121
tonic = { version = "0.11", features = ["tls", "transport"] }
@@ -29,7 +29,6 @@ tokio-util = "0.7.10"
2929

3030
[dev-dependencies]
3131
serde_json = "1.0.72"
32-
cln-rpc = { path = "../cln-rpc/", version = "0.4" }
3332

3433
[build-dependencies]
3534
tonic-build = "0.11"

cln-rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cln-rpc"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
edition = "2021"
55
license = "MIT"
66
description = "An async RPC client for Core Lightning."

plugins/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ tracing = { version = "^0.1", features = ["async-await", "log"] }
2727

2828
[dev-dependencies]
2929
tokio = { version = "1", features = ["macros", "rt-multi-thread", ] }
30-
cln-grpc = { version = "0.4", path = "../cln-grpc" }
30+
cln-grpc = { version = "0.5", path = "../cln-grpc" }

plugins/grpc-plugin/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ anyhow = "1.0"
1717
log = "0.4"
1818
rcgen = { version = "0.13.1", features = ["pem", "x509-parser"] }
1919
prost = "0.12"
20-
cln-grpc = { version = "0.4", features = ["server"], path = "../../cln-grpc"}
20+
cln-grpc = { version = "0.5", features = ["server"], path = "../../cln-grpc"}
2121
cln-plugin = { version = "0.4", path = "../../plugins" }
22-
cln-rpc = { version = "0.4", path = "../../cln-rpc" }
22+
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
2323
serde_json = "1.0.113"
2424

2525
[dependencies.tokio]

plugins/lsps-plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ path = "src/service.rs"
1515
anyhow = "1.0"
1616
async-trait = "0.1"
1717
cln-plugin = { version = "0.4", path = "../" }
18-
cln-rpc = { version = "0.4", path = "../../cln-rpc" }
18+
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
1919
hex = "0.4"
2020
log = "0.4"
2121
rand = "0.9"

plugins/rest-plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ log-panics = "2"
3232
socketioxide = "0.15"
3333

3434
cln-plugin = { version = "0.4", path = "../../plugins" }
35-
cln-rpc = { version = "0.4", path = "../../cln-rpc" }
35+
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
3636
utoipa-swagger-ui = { version = "9.0.0", features = ["vendored", "axum"] }
3737

plugins/wss-proxy-plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ tokio-rustls = { version = "0.26", default-features = false, features = ["ring",
2424
log-panics = "2"
2525

2626
cln-plugin = { version = "0.4", path = "../../plugins" }
27-
cln-rpc = { version = "0.4", path = "../../cln-rpc" }
27+
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
2828

0 commit comments

Comments
 (0)