From d82ff1105d258b30dc32f2592690b4b1d1994481 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Sat, 30 Mar 2024 21:49:29 +0000 Subject: [PATCH] chore: update --- crates/cashu-sdk/Cargo.toml | 4 ++-- crates/cashu-sdk/src/wallet/localstore/redb_store.rs | 4 +--- crates/cashu/Cargo.toml | 8 ++++---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/crates/cashu-sdk/Cargo.toml b/crates/cashu-sdk/Cargo.toml index 5e04c85e..53f38f1e 100644 --- a/crates/cashu-sdk/Cargo.toml +++ b/crates/cashu-sdk/Cargo.toml @@ -36,13 +36,13 @@ futures-util = { version = "0.3", default-features = false, features = ["sink", once_cell = { version = "1.17", optional = true } thiserror = { workspace = true } async-trait = "0.1.74" -gloo = { version = "0.10.0", optional = true, features = ["net"] } +gloo = { version = "0.11.0", optional = true, features = ["net"] } http = "1.0.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio = { workspace = true, features = ["rt-multi-thread", "time", "macros", "sync"] } minreq = { version = "2.7.0", optional = true, features = ["json-using-serde", "https"] } -redb = { version = "1.4.0", optional = true } +redb = { version = "2.0.0", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] } diff --git a/crates/cashu-sdk/src/wallet/localstore/redb_store.rs b/crates/cashu-sdk/src/wallet/localstore/redb_store.rs index f417690e..4ec4c47f 100644 --- a/crates/cashu-sdk/src/wallet/localstore/redb_store.rs +++ b/crates/cashu-sdk/src/wallet/localstore/redb_store.rs @@ -6,9 +6,7 @@ use async_trait::async_trait; use cashu::nuts::{Id, KeySetInfo, Keys, MintInfo, Proofs}; use cashu::types::{MeltQuote, MintQuote}; use cashu::url::UncheckedUrl; -use redb::{ - Database, MultimapTableDefinition, ReadableMultimapTable, ReadableTable, TableDefinition, -}; +use redb::{Database, MultimapTableDefinition, ReadableTable, TableDefinition}; use tokio::sync::Mutex; use super::{Error, LocalStore}; diff --git a/crates/cashu/Cargo.toml b/crates/cashu/Cargo.toml index 749cf7dc..f34d08f8 100644 --- a/crates/cashu/Cargo.toml +++ b/crates/cashu/Cargo.toml @@ -26,13 +26,13 @@ nut13 = ["dep:bip39", "dep:bip32", "nut09"] [dependencies] -base64 = "0.21.0" -bitcoin = { version = "0.30.0", features=["serde", "rand"] } +base64 = "0.22.0" +bitcoin = { version = "0.31.0", features=["serde", "rand"] } bip39 = { version = "2.0.0", optional = true } bip32 = { version = "0.5.1", optional = true } hex = "0.4.3" k256 = { version = "0.13.1", features=["arithmetic", "serde", "schnorr"] } -lightning-invoice = { version = "0.25.0", features=["serde"] } +lightning-invoice = { version = "0.29.0", features=["serde"] } log = "0.4.2" rand = "0.8.5" getrandom = { version = "0.2", features = ["js"] } @@ -41,7 +41,7 @@ serde_json = { workspace = true } serde_with = "3.4.0" url = { workspace = true } regex = "1.8.4" -itertools = "0.11.0" +itertools = "0.12.0" thiserror = { workspace = true } uuid = { version = "1.6.1", features = ["v4"] }