Skip to content

Commit dedda2d

Browse files
committed
Bump rust-lightning dependencies to latest LSPS2 branch
Update all `rust-lightning` crate dependencies to `https://github.com/tnull/rust-lightning` at `c26cafa86424de9e6199b2907e1a41674b1c6dcc`, which is the latest commit on `2026-03-lsps2-bolt12-alt`. Add a `[patch]` section for `https://github.com/lightningdevkit/rust-lightning` so transitive crates resolve to the same revision and avoid mixed `lightning` versions. Co-Authored-By: HAL 9000
1 parent 285d09e commit dedda2d

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

Cargo.toml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ default = []
3939
#lightning-liquidity = { version = "0.2.0", features = ["std"] }
4040
#lightning-macros = { version = "0.2.0" }
4141

42-
lightning = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204", features = ["std"] }
43-
lightning-types = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204" }
44-
lightning-invoice = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204", features = ["std"] }
45-
lightning-net-tokio = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204" }
46-
lightning-persister = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204", features = ["tokio"] }
47-
lightning-background-processor = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204" }
48-
lightning-rapid-gossip-sync = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204" }
49-
lightning-block-sync = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204", features = ["rest-client", "rpc-client", "tokio"] }
50-
lightning-transaction-sync = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204", features = ["esplora-async-https", "time", "electrum-rustls-ring"] }
51-
lightning-liquidity = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204", features = ["std"] }
52-
lightning-macros = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204" }
42+
lightning = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc", features = ["std"] }
43+
lightning-types = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
44+
lightning-invoice = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc", features = ["std"] }
45+
lightning-net-tokio = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
46+
lightning-persister = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc", features = ["tokio"] }
47+
lightning-background-processor = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
48+
lightning-rapid-gossip-sync = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
49+
lightning-block-sync = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc", features = ["rest-client", "rpc-client", "tokio"] }
50+
lightning-transaction-sync = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc", features = ["esplora-async-https", "time", "electrum-rustls-ring"] }
51+
lightning-liquidity = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc", features = ["std"] }
52+
lightning-macros = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
5353

5454
bdk_chain = { version = "0.23.0", default-features = false, features = ["std"] }
5555
bdk_esplora = { version = "0.22.0", default-features = false, features = ["async-https-rustls", "tokio"]}
@@ -85,7 +85,7 @@ bitcoin-payment-instructions = { git = "https://github.com/jkczyz/bitcoin-paymen
8585
winapi = { version = "0.3", features = ["winbase"] }
8686

8787
[dev-dependencies]
88-
lightning = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "98393b3de3d8aec897e9ab783cb2418da504e204", features = ["std", "_test_utils"] }
88+
lightning = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc", features = ["std", "_test_utils"] }
8989
rand = { version = "0.9.2", default-features = false, features = ["std", "thread_rng", "os_rng"] }
9090
proptest = "1.0.0"
9191
regex = "1.5.6"
@@ -172,14 +172,14 @@ harness = false
172172
#vss-client-ng = { git = "https://github.com/lightningdevkit/vss-client", branch = "main" }
173173
#
174174
[patch."https://github.com/lightningdevkit/rust-lightning"]
175-
lightning = { path = "../rust-lightning/lightning" }
176-
lightning-types = { path = "../rust-lightning/lightning-types" }
177-
lightning-invoice = { path = "../rust-lightning/lightning-invoice" }
178-
lightning-net-tokio = { path = "../rust-lightning/lightning-net-tokio" }
179-
lightning-persister = { path = "../rust-lightning/lightning-persister" }
180-
lightning-background-processor = { path = "../rust-lightning/lightning-background-processor" }
181-
lightning-rapid-gossip-sync = { path = "../rust-lightning/lightning-rapid-gossip-sync" }
182-
lightning-block-sync = { path = "../rust-lightning/lightning-block-sync" }
183-
lightning-transaction-sync = { path = "../rust-lightning/lightning-transaction-sync" }
184-
lightning-liquidity = { path = "../rust-lightning/lightning-liquidity" }
185-
lightning-macros = { path = "../rust-lightning/lightning-macros" }
175+
lightning = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
176+
lightning-types = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
177+
lightning-invoice = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
178+
lightning-net-tokio = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
179+
lightning-persister = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
180+
lightning-background-processor = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
181+
lightning-rapid-gossip-sync = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
182+
lightning-block-sync = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
183+
lightning-transaction-sync = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
184+
lightning-liquidity = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }
185+
lightning-macros = { git = "https://github.com/tnull/rust-lightning", rev = "c26cafa86424de9e6199b2907e1a41674b1c6dcc" }

0 commit comments

Comments
 (0)