From 2690e24312a10df260d43e3af8d4e5e6256c78e9 Mon Sep 17 00:00:00 2001 From: MoCipher Date: Thu, 12 Feb 2026 00:09:38 +0100 Subject: [PATCH] chore: mark lightning dependency optional/disabled to avoid yanked crate --- core/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index 0544c77..424db66 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -25,8 +25,8 @@ bip32 = "0.3" # BDK for wallet abstractions (UTXO management, PSBT, descriptors) bdk = { version = "0.27", features = ["keys-bip39", "electrum", "sqlite"] } -# Rust-Lightning (lightning protocol) - use as optional or for in-process nodes -lightning = "0.0.124" +# Rust-Lightning (lightning protocol) - add as an optional dependency when needed +# lightning = { version = "0.0.124", optional = true } # disabled because some versions may be yanked # Crypto / storage / tools argon2 = "0.4"