From 45a300412825170ca1e9f4b331105f05079cc203 Mon Sep 17 00:00:00 2001 From: kieran Date: Thu, 8 Aug 2024 22:14:05 +0100 Subject: [PATCH] clean using --- src/events.rs | 4 +--- src/main.rs | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) 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;