From c1b5971def1a204fe0373b7c787b185aff096b05 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sat, 24 Feb 2024 15:01:11 +0000
Subject: [PATCH] chore(deps): bump lightning-invoice from 0.21.0 to 0.29.0

Bumps [lightning-invoice](https://github.com/lightningdevkit/rust-lightning) from 0.21.0 to 0.29.0.
- [Release notes](https://github.com/lightningdevkit/rust-lightning/releases)
- [Changelog](https://github.com/lightningdevkit/rust-lightning/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lightningdevkit/rust-lightning/commits)

---
updated-dependencies:
- dependency-name: lightning-invoice
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 Cargo.lock             | 73 ++++--------------------------------------
 moksha-mint/Cargo.toml |  2 +-
 2 files changed, 8 insertions(+), 67 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 4ccf03e2..0ac4a4ab 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -320,17 +320,6 @@ version = "0.9.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445"
 
-[[package]]
-name = "bitcoin"
-version = "0.29.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0694ea59225b0c5f3cb405ff3f670e4828358ed26aec49dc352f730f0cb1a8a3"
-dependencies = [
- "bech32",
- "bitcoin_hashes 0.11.0",
- "secp256k1 0.24.3",
-]
-
 [[package]]
 name = "bitcoin"
 version = "0.30.2"
@@ -357,12 +346,6 @@ version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "73290177011694f38ec25e165d0387ab7ea749a4b81cd4c80dae5988229f7a57"
 
-[[package]]
-name = "bitcoin_hashes"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4"
-
 [[package]]
 name = "bitcoin_hashes"
 version = "0.12.0"
@@ -509,7 +492,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "9e745ebc04340d421c7bc8305942a60d3dd8531d94df24f1b8c3906942735f0d"
 dependencies = [
  "anyhow",
- "bitcoin 0.30.2",
+ "bitcoin",
  "hex",
  "log",
  "prost 0.11.9",
@@ -1536,39 +1519,16 @@ dependencies = [
  "vcpkg",
 ]
 
-[[package]]
-name = "lightning"
-version = "0.0.118"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d52cec5fa9382154fe9671e8df93095b800c7d77abc66e2a5ef839d672521c5e"
-dependencies = [
- "bitcoin 0.29.2",
-]
-
 [[package]]
 name = "lightning"
 version = "0.0.121"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "5b0c1f811ae288f86c6767055c55b5f7a721ca1e61bf1897a9ae2ec663e8aba1"
 dependencies = [
- "bitcoin 0.30.2",
+ "bitcoin",
  "hex-conservative",
 ]
 
-[[package]]
-name = "lightning-invoice"
-version = "0.26.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3eb24878b0f4ef75f020976c886d9ad1503867802329cc963e0ab4623ea3b25c"
-dependencies = [
- "bech32",
- "bitcoin 0.29.2",
- "bitcoin_hashes 0.11.0",
- "lightning 0.0.118",
- "num-traits",
- "secp256k1 0.24.3",
-]
-
 [[package]]
 name = "lightning-invoice"
 version = "0.29.0"
@@ -1576,8 +1536,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "5b186aca4a605d4db3b85979922be287b9ebd5dedd8132963bb9dbeb8f7d2a04"
 dependencies = [
  "bech32",
- "bitcoin 0.30.2",
- "lightning 0.0.121",
+ "bitcoin",
+ "lightning",
  "num-traits",
  "secp256k1 0.27.0",
 ]
@@ -1747,7 +1707,7 @@ dependencies = [
  "anyhow",
  "axum 0.7.4",
  "bitcoin_hashes 0.12.0",
- "lightning-invoice 0.29.0",
+ "lightning-invoice",
  "moksha-core",
  "moksha-mint",
  "moksha-wallet",
@@ -1776,7 +1736,7 @@ dependencies = [
  "hex",
  "http-body-util",
  "hyper 0.14.28",
- "lightning-invoice 0.26.0",
+ "lightning-invoice",
  "mockall",
  "moksha-core",
  "opentelemetry-jaeger",
@@ -1808,7 +1768,7 @@ dependencies = [
  "async-trait",
  "dirs",
  "gloo-net",
- "lightning-invoice 0.29.0",
+ "lightning-invoice",
  "mockall",
  "moksha-core",
  "reqwest",
@@ -2785,16 +2745,6 @@ dependencies = [
  "untrusted 0.9.0",
 ]
 
-[[package]]
-name = "secp256k1"
-version = "0.24.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62"
-dependencies = [
- "bitcoin_hashes 0.11.0",
- "secp256k1-sys 0.6.1",
-]
-
 [[package]]
 name = "secp256k1"
 version = "0.27.0"
@@ -2818,15 +2768,6 @@ dependencies = [
  "serde",
 ]
 
-[[package]]
-name = "secp256k1-sys"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b"
-dependencies = [
- "cc",
-]
-
 [[package]]
 name = "secp256k1-sys"
 version = "0.8.1"
diff --git a/moksha-mint/Cargo.toml b/moksha-mint/Cargo.toml
index d7bb343f..e79d4269 100644
--- a/moksha-mint/Cargo.toml
+++ b/moksha-mint/Cargo.toml
@@ -31,7 +31,7 @@ tower-http = { version = "0.5.0", features = ["cors", "fs", "set-header"] }
 secp256k1 = { version = "0.28.2", default-features = false, features = ["rand", "serde"] }
 thiserror = "1.0.50"
 moksha-core = { path = "../moksha-core", version = "0.2.1" }
-lightning-invoice = "0.26.0"
+lightning-invoice = "0.29.0"
 reqwest = { version = "0.11.23", default-features = false, features = ["serde_json", "json", "rustls-tls", "socks"] }
 url = "2.4.1"
 dotenvy = "0.15.7"