diff --git a/src/events.rs b/src/events.rs index b8f3cfc..f10ac98 100644 --- a/src/events.rs +++ b/src/events.rs @@ -1,6 +1,4 @@ -use anyhow::Error; -use nostr::{Event, EventId, JsonUtil, Kind, PublicKey}; -use nostr_database::{DatabaseError, DynNostrDatabase, NostrDatabase}; +use nostr::{Event, EventId, PublicKey}; use rocket::{Route, State}; use rocket::http::Status; use rocket::serde::json::Json; diff --git a/src/main.rs b/src/main.rs index 516a9e2..c5ba093 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,8 +2,6 @@ extern crate rocket; use anyhow::Error; -use nostr::Event; -use nostr_database::{DynNostrDatabase, NostrDatabase}; use rocket::shield::Shield; use crate::store::SledDatabase;