From ec73e988eda4adc8839d59810b5992b6b446ddeb Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 17 Nov 2023 11:36:11 +0100 Subject: [PATCH] client: Pull in the cln-grpc with FetchInvoice --- Cargo.lock | 45 +++++++++++++-------------------------- libs/gl-client/Cargo.toml | 2 +- 2 files changed, 16 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a7fc0c0b5..c4c5548c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -275,9 +275,9 @@ dependencies = [ [[package]] name = "bitcoin" -version = "0.30.1" +version = "0.30.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e99ff7289b20a7385f66a0feda78af2fc119d28fb56aea8886a9cd0a4abdd75" +checksum = "1945a5048598e4189e239d3f809b19bdad4845c4b2ba400d304d2dcf26d2c462" dependencies = [ "bech32 0.9.1", "bitcoin-private", @@ -547,28 +547,13 @@ dependencies = [ "serde_json", ] -[[package]] -name = "cln-grpc" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57af6eff15ee3fd7a0e09d0baeab8d33c892a73d97b87248e5f94f4749eacfe1" -dependencies = [ - "anyhow", - "bitcoin 0.30.1", - "hex", - "log", - "prost 0.11.9", - "tonic 0.8.3", - "tonic-build 0.8.4", -] - [[package]] name = "cln-grpc" version = "0.1.7" source = "git+https://github.com/cdecker/lightning.git?tag=gl-20231113#075927b2c5f38fdbde4c0764135be58340b0ce08" dependencies = [ "anyhow", - "bitcoin 0.30.1", + "bitcoin 0.30.2", "cln-rpc", "hex", "log", @@ -601,7 +586,7 @@ version = "0.1.6" source = "git+https://github.com/cdecker/lightning.git?tag=gl-20231113#075927b2c5f38fdbde4c0764135be58340b0ce08" dependencies = [ "anyhow", - "bitcoin 0.30.1", + "bitcoin 0.30.2", "bytes 1.5.0", "futures-util", "hex", @@ -915,9 +900,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c18ee0ed65a5f1f81cac6b1d213b69c35fa47d4252ad41f1486dbd8226fe36e" +checksum = "f258a7194e7f7c2a7837a8913aeab7fd8c383457034fa20ce4dd3dcb813e8eb8" dependencies = [ "libc", "windows-sys", @@ -1184,7 +1169,7 @@ dependencies = [ "bitcoin 0.31.0", "bytes 1.5.0", "chacha20poly1305", - "cln-grpc 0.1.6", + "cln-grpc", "futures", "hex", "http", @@ -1246,7 +1231,7 @@ dependencies = [ "base64 0.21.5", "bytes 1.5.0", "clightningrpc", - "cln-grpc 0.1.7", + "cln-grpc", "cln-plugin", "cln-rpc", "env_logger 0.7.1", @@ -1560,7 +1545,7 @@ dependencies = [ "futures-util", "http", "hyper 0.14.27", - "rustls 0.21.8", + "rustls 0.21.9", "tokio 1.34.0", "tokio-rustls 0.24.1", ] @@ -2850,7 +2835,7 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite 0.2.13", - "rustls 0.21.8", + "rustls 0.21.9", "rustls-native-certs", "rustls-pemfile", "serde", @@ -2957,9 +2942,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.8" +version = "0.21.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "446e14c5cda4f3f30fe71863c34ec70f5ac79d6087097ad0bb433e1be5edf04c" +checksum = "629648aced5775d558af50b2b4c7b02983a04b312126d45eeead26e7caa498b9" dependencies = [ "log", "ring 0.17.5", @@ -3677,7 +3662,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.8", + "rustls 0.21.9", "tokio 1.34.0", ] @@ -4546,6 +4531,6 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" diff --git a/libs/gl-client/Cargo.toml b/libs/gl-client/Cargo.toml index 5a3f02492..96b780871 100644 --- a/libs/gl-client/Cargo.toml +++ b/libs/gl-client/Cargo.toml @@ -45,7 +45,7 @@ vls-protocol-signer = { git="https://gitlab.com/cdecker/vls", tag="snapshot-2023 vls-protocol = { git="https://gitlab.com/cdecker/vls", tag="snapshot-20230920" } serde_json = "^1.0" thiserror = "1" -cln-grpc = "^0.1" +cln-grpc = {git = "https://github.com/cdecker/lightning.git", tag = "gl-20231113" } chacha20poly1305 = { version = "0.10.1", optional = true } serde_bolt = "0.2"