mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-19 05:35:18 +01:00
chore: Update rust-version (MSRV) to 1.75.0 (#623)
This commit is contained in:
@@ -6,18 +6,18 @@ authors = ["CDK Developers"]
|
||||
license = "MIT"
|
||||
homepage = "https://github.com/cashubtc/cdk"
|
||||
repository = "https://github.com/cashubtc/cdk.git"
|
||||
rust-version = "1.63.0" # MSRV
|
||||
rust-version = "1.75.0" # MSRV
|
||||
description = "CDK ln backend for lnbits"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1"
|
||||
anyhow = "1"
|
||||
axum = "0.6.20"
|
||||
bitcoin = { version = "0.32.2", default-features = false }
|
||||
cdk = { path = "../cdk", version = "0.7.1", default-features = false, features = ["mint"] }
|
||||
futures = { version = "0.3.28", default-features = false }
|
||||
tokio = { version = "1", default-features = false }
|
||||
tokio-util = { version = "0.7.11", default-features = false }
|
||||
tracing = { version = "0.1", default-features = false, features = ["attributes", "log"] }
|
||||
thiserror = "1"
|
||||
lnbits-rs = "0.3.0"
|
||||
async-trait.workspace = true
|
||||
anyhow.workspace = true
|
||||
axum.workspace = true
|
||||
bitcoin.workspace = true
|
||||
cdk = { workspace = true, features = ["mint"] }
|
||||
futures.workspace = true
|
||||
tokio.workspace = true
|
||||
tokio-util.workspace = true
|
||||
tracing.workspace = true
|
||||
thiserror.workspace = true
|
||||
lnbits-rs = "0.4.0"
|
||||
|
||||
@@ -83,7 +83,6 @@ impl MintLightning for LNbits {
|
||||
self.wait_invoice_cancel_token.cancel()
|
||||
}
|
||||
|
||||
#[allow(clippy::incompatible_msrv)]
|
||||
async fn wait_any_invoice(
|
||||
&self,
|
||||
) -> Result<Pin<Box<dyn Stream<Item = String> + Send>>, Self::Err> {
|
||||
@@ -182,7 +181,7 @@ impl MintLightning for LNbits {
|
||||
) -> Result<PayInvoiceResponse, Self::Err> {
|
||||
let pay_response = self
|
||||
.lnbits_api
|
||||
.pay_invoice(&melt_quote.request)
|
||||
.pay_invoice(&melt_quote.request, None)
|
||||
.await
|
||||
.map_err(|err| {
|
||||
tracing::error!("Could not pay invoice");
|
||||
|
||||
Reference in New Issue
Block a user