From 3e396854b2a0b1a319caee9ddcb6cd5aa641a624 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Thu, 26 Aug 2021 17:11:53 +0200 Subject: [PATCH] Bumps lightning dependencies 'rust-lightning' needs to be bumped to v0.0.100 rev d523b6e so 'TryInto::' can be found in 'lightning-block-sync'. Bumping it any further will change 'PeerManager's API due to https://github.com/rust-bitcoin/rust-lightning/commit/45853b3a956f83569dff1010a43a33c57487698a --- Cargo.lock | 24 ++++++++++++------------ Cargo.toml | 12 ++++++------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 15fb18a..e0c7e9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -251,8 +251,8 @@ checksum = "a7f823d141fe0a24df1e23b4af4e3c7ba9e5966ec514ea068c93024aa7deb765" [[package]] name = "lightning" -version = "0.0.99" -source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825" +version = "0.0.100" +source = "git+https://github.com/rust-bitcoin/rust-lightning?rev=d523b6e#d523b6e42b5b0fde07a89770906e0193ea987538" dependencies = [ "bitcoin", "secp256k1", @@ -260,8 +260,8 @@ dependencies = [ [[package]] name = "lightning-background-processor" -version = "0.0.99" -source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825" +version = "0.0.100" +source = "git+https://github.com/rust-bitcoin/rust-lightning?rev=d523b6e#d523b6e42b5b0fde07a89770906e0193ea987538" dependencies = [ "bitcoin", "lightning", @@ -270,8 +270,8 @@ dependencies = [ [[package]] name = "lightning-block-sync" -version = "0.0.99" -source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825" +version = "0.0.100" +source = "git+https://github.com/rust-bitcoin/rust-lightning?rev=d523b6e#d523b6e42b5b0fde07a89770906e0193ea987538" dependencies = [ "bitcoin", "chunked_transfer", @@ -283,8 +283,8 @@ dependencies = [ [[package]] name = "lightning-invoice" -version = "0.7.0" -source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825" +version = "0.8.0" +source = "git+https://github.com/rust-bitcoin/rust-lightning?rev=d523b6e#d523b6e42b5b0fde07a89770906e0193ea987538" dependencies = [ "bech32", "bitcoin_hashes", @@ -295,8 +295,8 @@ dependencies = [ [[package]] name = "lightning-net-tokio" -version = "0.0.99" -source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825" +version = "0.0.100" +source = "git+https://github.com/rust-bitcoin/rust-lightning?rev=d523b6e#d523b6e42b5b0fde07a89770906e0193ea987538" dependencies = [ "bitcoin", "lightning", @@ -305,8 +305,8 @@ dependencies = [ [[package]] name = "lightning-persister" -version = "0.0.99" -source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825" +version = "0.0.100" +source = "git+https://github.com/rust-bitcoin/rust-lightning?rev=d523b6e#d523b6e42b5b0fde07a89770906e0193ea987538" dependencies = [ "bitcoin", "libc", diff --git a/Cargo.toml b/Cargo.toml index e71926d..a477368 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,12 +8,12 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -lightning = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } -lightning-block-sync = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main", features = [ "rpc-client" ] } -lightning-invoice = { version = "0.7", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } -lightning-net-tokio = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } -lightning-persister = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } -lightning-background-processor = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } +lightning = { version = "0.0.100", git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d523b6e" } +lightning-block-sync = { version = "0.0.100", git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d523b6e", features = [ "rpc-client" ] } +lightning-invoice = { version = "0.8.0", git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d523b6e" } +lightning-net-tokio = { version = "0.0.100", git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d523b6e" } +lightning-persister = { version = "0.0.100", git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d523b6e" } +lightning-background-processor = { version = "0.0.100", git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d523b6e" } base64 = "0.13.0" bitcoin = "0.27" -- 2.30.2