From bdd9e33f5a385d5877cb6f48b859ecd1939ad068 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 7aa81a3b2a24..ec0a9d22b2e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -246,7 +246,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "cln-grpc" -version = "0.1.9" +version = "0.2.0" dependencies = [ "anyhow", "bitcoin", @@ -266,7 +266,7 @@ dependencies = [ [[package]] name = "cln-grpc-plugin" -version = "0.1.6" +version = "0.2.0" dependencies = [ "anyhow", "cln-grpc", @@ -282,7 +282,7 @@ dependencies = [ [[package]] name = "cln-plugin" -version = "0.1.9" +version = "0.2.0" dependencies = [ "anyhow", "bytes", @@ -300,7 +300,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 8e23fc38c7b9..e03fe0cad39a 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 } serde = { version = "1.0", features = ["derive"] } tonic = { version = "0.12", features = ["tls", "transport"] } prost = "0.13" @@ -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.12" 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 e1fada5c1c45..cfdc723ce603 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" rcgen = { version = "0.13.1", features = ["pem", "x509-parser"] } prost = "0.13" -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]