From 6a463f042ee3243bfecee66c43d92bfe1fbbe50c Mon Sep 17 00:00:00 2001 From: Peter Neuroth Date: Wed, 21 Aug 2024 15:10:53 +0200 Subject: [PATCH] rust-libs: Bump versions We bump the version to minor version 0.2 to allow ourselves to bump on patch level when we need to fix a bug or update a dependency. Changelog-Changed: Plugins: `cln-grpc` Upgrade tonic version and introduce new versioning scheme. Signed-off-by: Peter Neuroth --- Cargo.lock | 8 ++++---- cln-grpc/Cargo.toml | 6 +++--- cln-rpc/Cargo.toml | 2 +- plugins/Cargo.toml | 4 ++-- plugins/grpc-plugin/Cargo.toml | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7ecd83ae16da..827e05b49ea6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -262,7 +262,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "cln-grpc" -version = "0.1.9" +version = "0.2.0" dependencies = [ "anyhow", "bitcoin", @@ -282,7 +282,7 @@ dependencies = [ [[package]] name = "cln-grpc-plugin" -version = "0.1.6" +version = "0.2.0" dependencies = [ "anyhow", "cln-grpc", @@ -298,7 +298,7 @@ dependencies = [ [[package]] name = "cln-plugin" -version = "0.1.9" +version = "0.2.0" dependencies = [ "anyhow", "bytes", @@ -316,7 +316,7 @@ dependencies = [ [[package]] name = "cln-rpc" -version = "0.1.9" +version = "0.2.0" dependencies = [ "anyhow", "bitcoin", diff --git a/cln-grpc/Cargo.toml b/cln-grpc/Cargo.toml index ff36a319237a..54d0cc273b1c 100644 --- a/cln-grpc/Cargo.toml +++ b/cln-grpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cln-grpc" -version = "0.1.9" +version = "0.2.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.1", optional = true } +cln-rpc = { path="../cln-rpc/", version = "0.2", optional = true } tonic = { version = "0.8", features = ["tls", "transport"] } prost = "0.11" serde = { version = "1.0", features = ["derive"] } @@ -28,7 +28,7 @@ tokio-util = "0.7.10" [dev-dependencies] serde_json = "1.0.72" -cln-rpc = { path="../cln-rpc/", version = "^0.1" } +cln-rpc = { path="../cln-rpc/", version = "0.2" } [build-dependencies] tonic-build = "0.8" diff --git a/cln-rpc/Cargo.toml b/cln-rpc/Cargo.toml index 3d4b760f1e44..3f38145ef03b 100644 --- a/cln-rpc/Cargo.toml +++ b/cln-rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cln-rpc" -version = "0.1.9" +version = "0.2.0" edition = "2021" license = "MIT" description = "An async RPC client for Core Lightning." diff --git a/plugins/Cargo.toml b/plugins/Cargo.toml index 1b3dea946920..a753f01b9297 100644 --- a/plugins/Cargo.toml +++ b/plugins/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cln-plugin" -version = "0.1.9" +version = "0.2.0" edition = "2021" license = "MIT" description = "A CLN plugin library. Write your plugin in Rust." @@ -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.1", path = "../cln-grpc" } +cln-grpc = { version = "0.2", path = "../cln-grpc" } diff --git a/plugins/grpc-plugin/Cargo.toml b/plugins/grpc-plugin/Cargo.toml index 32085e44c29a..f759cd544439 100644 --- a/plugins/grpc-plugin/Cargo.toml +++ b/plugins/grpc-plugin/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "cln-grpc-plugin" -version = "0.1.6" +version = "0.2.0" description = "A Core Lightning plugin that re-exposes the JSON-RPC over grpc. Authentication is done via mTLS." license = "MIT" @@ -17,9 +17,9 @@ anyhow = "1.0" log = "0.4" prost = "0.11" rcgen = { version = "0.13.1", features = ["pem", "x509-parser"] } -cln-grpc = { version = "0.1", features = ["server"], path = "../../cln-grpc"} -cln-plugin = { version = "0.1", path = "../../plugins" } -cln-rpc = { version = "0.1", path = "../../cln-rpc" } +cln-grpc = { version = "0.2", features = ["server"], path = "../../cln-grpc"} +cln-plugin = { version = "0.2", path = "../../plugins" } +cln-rpc = { version = "0.2", path = "../../cln-rpc" } serde_json = "1.0.113" [dependencies.tokio]