nostrdb-rs

nostrdb in rust!
git clone git://jb55.com/nostrdb-rs
Log | Files | Refs | Submodules | README | LICENSE

commit b89b693744e054f309f7b52e72f65b5e5b7ad05f
parent 49c55cfd533c2ee1e92741f461ac9fe2412f1a60
Author: William Casarin <jb55@jb55.com>
Date:   Wed,  9 Apr 2025 13:20:38 -0700

remove annoying deprecations

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/ndb.rs | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/ndb.rs b/src/ndb.rs @@ -148,9 +148,6 @@ impl Ndb { /// Ingest a relay-sent event in the form `["EVENT","subid", {"id:"...}]` /// This function returns immediately and doesn't provide any information on /// if ingestion was successful or not. - #[deprecated( - note = "Use `process_event_with` with IngestMetadata::new().client(false).relay(...)" - )] pub fn process_event(&self, json: &str) -> Result<()> { self.process_event_with(json, IngestMetadata::new().client(false)) } @@ -158,9 +155,6 @@ impl Ndb { /// Ingest a client-sent event in the form `["EVENT", {"id:"...}]` /// This function returns immediately and doesn't provide any information on /// if ingestion was successful or not. - #[deprecated( - note = "Use `process_event_with` with IngestMetadata::new().client(true).relay(...)" - )] pub fn process_client_event(&self, json: &str) -> Result<()> { self.process_event_with(json, IngestMetadata::new().client(true)) }