File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
crates/nostr-database/src Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 4141- nostr: rework ` NostrParser ` ([ Yuki Kishimoto] at https://github.com/rust-nostr/nostr/pull/899 )
4242- pool: refine notification sending depending on event database saving status ([ Yuki Kishimoto] at https://github.com/rust-nostr/nostr/pull/911 )
4343- nostr: impl ` Any ` for ` NostrSigner ` ([ Yuki Kishimoto] at https://github.com/rust-nostr/nostr/pull/845 )
44+ - database: impl ` Any ` for ` NostrDatabase ` ([ Yuki Kishimoto] at https://github.com/rust-nostr/nostr/pull/845 )
4445
4546### Added
4647
Original file line number Diff line number Diff line change 99#![ warn( clippy:: large_futures) ]
1010#![ allow( clippy:: mutable_key_type) ] // TODO: remove when possible. Needed to suppress false positive for `BTreeSet<Event>`
1111
12+ use std:: any:: Any ;
1213use std:: collections:: HashMap ;
1314use std:: fmt:: Debug ;
1415use std:: sync:: Arc ;
@@ -140,7 +141,7 @@ where
140141}
141142
142143/// Nostr (Events) Database
143- pub trait NostrDatabase : Debug + Send + Sync {
144+ pub trait NostrDatabase : Any + Debug + Send + Sync {
144145 /// Name of the backend database used
145146 fn backend ( & self ) -> Backend ;
146147
You can’t perform that action at this time.
0 commit comments