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 41
41
- nostr: rework ` NostrParser ` ([ Yuki Kishimoto] at https://github.com/rust-nostr/nostr/pull/899 )
42
42
- pool: refine notification sending depending on event database saving status ([ Yuki Kishimoto] at https://github.com/rust-nostr/nostr/pull/911 )
43
43
- 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 )
44
45
45
46
### Added
46
47
Original file line number Diff line number Diff line change 9
9
#![ warn( clippy:: large_futures) ]
10
10
#![ allow( clippy:: mutable_key_type) ] // TODO: remove when possible. Needed to suppress false positive for `BTreeSet<Event>`
11
11
12
+ use std:: any:: Any ;
12
13
use std:: collections:: HashMap ;
13
14
use std:: fmt:: Debug ;
14
15
use std:: sync:: Arc ;
@@ -140,7 +141,7 @@ where
140
141
}
141
142
142
143
/// Nostr (Events) Database
143
- pub trait NostrDatabase : Debug + Send + Sync {
144
+ pub trait NostrDatabase : Any + Debug + Send + Sync {
144
145
/// Name of the backend database used
145
146
fn backend ( & self ) -> Backend ;
146
147
You can’t perform that action at this time.
0 commit comments