Skip to content

Commit

Permalink
rust-libs: Bump versions
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
nepet committed Sep 10, 2024
1 parent 5993030 commit bdd9e33
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cln-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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."
Expand All @@ -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"
Expand All @@ -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"
2 changes: 1 addition & 1 deletion cln-rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
4 changes: 2 additions & 2 deletions plugins/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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."
Expand All @@ -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" }
8 changes: 4 additions & 4 deletions plugins/grpc-plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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]
Expand Down

0 comments on commit bdd9e33

Please sign in to comment.