chore: update deps
This commit is contained in:
Generated
+306
-247
File diff suppressed because it is too large
Load Diff
+1
-5
@@ -47,11 +47,7 @@ chacha20 = "0.9"
|
|||||||
hmac = "0.12"
|
hmac = "0.12"
|
||||||
# Pinned to the instance `nostr-sdk` already builds, so NIP-44 nonces share it
|
# Pinned to the instance `nostr-sdk` already builds, so NIP-44 nonces share it
|
||||||
rand = { version = "0.10", default-features = false, features = [ "std", "sys_rng", "thread_rng" ] }
|
rand = { version = "0.10", default-features = false, features = [ "std", "sys_rng", "thread_rng" ] }
|
||||||
|
# Cashu (NIP-60).
|
||||||
# Cashu (NIP-60). From git: the published 0.18.x line targets nostr 0.44 and
|
|
||||||
# cannot unify with the git rust-nostr used here, while main targets 0.45.x
|
|
||||||
# (redirected to this repo by the [patch.crates-io] section below). redb
|
|
||||||
# storage: pure Rust, avoids the libsqlite3-sys links clash with nostr-sqlite.
|
|
||||||
cdk = { git = "https://github.com/cashubtc/cdk", default-features = false, features = [ "wallet" ] }
|
cdk = { git = "https://github.com/cashubtc/cdk", default-features = false, features = [ "wallet" ] }
|
||||||
cdk-redb = { git = "https://github.com/cashubtc/cdk", default-features = false, features = [ "wallet" ] }
|
cdk-redb = { git = "https://github.com/cashubtc/cdk", default-features = false, features = [ "wallet" ] }
|
||||||
|
|
||||||
|
|||||||
@@ -344,9 +344,10 @@ impl ChatRegistry {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RelayMessage::EndOfStoredEvents(id)
|
RelayMessage::EndOfStoredEvents {
|
||||||
if (id.as_ref() == &sub_id1 || id.as_ref() == &sub_id2) =>
|
subscription_id: id,
|
||||||
{
|
..
|
||||||
|
} if (id.as_ref() == &sub_id1 || id.as_ref() == &sub_id2) => {
|
||||||
tx.send_async(Signal::Eose).await?;
|
tx.send_async(Signal::Eose).await?;
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
|
|||||||
@@ -1208,7 +1208,10 @@ impl GroupsRegistry {
|
|||||||
tx.send_async(signal).await.ok();
|
tx.send_async(signal).await.ok();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RelayMessage::EndOfStoredEvents(id) if is_own_subscription(&id) => {
|
RelayMessage::EndOfStoredEvents {
|
||||||
|
subscription_id: id,
|
||||||
|
..
|
||||||
|
} if is_own_subscription(&id) => {
|
||||||
tx.send_async(Signal::Eose(id.into_owned())).await.ok();
|
tx.send_async(Signal::Eose(id.into_owned())).await.ok();
|
||||||
}
|
}
|
||||||
RelayMessage::Closed {
|
RelayMessage::Closed {
|
||||||
@@ -1222,7 +1225,7 @@ impl GroupsRegistry {
|
|||||||
RelayMessage::NegMsg { .. } => {
|
RelayMessage::NegMsg { .. } => {
|
||||||
tx.send_async(Signal::Syncing(relay_url)).await.ok();
|
tx.send_async(Signal::Syncing(relay_url)).await.ok();
|
||||||
}
|
}
|
||||||
RelayMessage::NegErr { .. } | RelayMessage::EndOfStoredEvents(_) => {
|
RelayMessage::NegErr { .. } | RelayMessage::EndOfStoredEvents { .. } => {
|
||||||
tx.send_async(Signal::Synced(relay_url)).await.ok();
|
tx.send_async(Signal::Synced(relay_url)).await.ok();
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
|
|||||||
Reference in New Issue
Block a user