about summary refs log tree commit diff
path: root/src/database
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2025-01-01 05:57:47 +0300
committerVika <vika@fireburn.ru>2025-01-01 07:08:33 +0300
commitfc925564cc2324b1343da721b1e8aab680292ac9 (patch)
tree2619934c146f236ac377f91a44faccbe3abaa904 /src/database
parent5ad8443c8d6d9ed3f9d28ac52af529ceb41d741f (diff)
downloadkittybox-fc925564cc2324b1343da721b1e8aab680292ac9.tar.zst
Partially appease clippy
Some false positives on `serde(rename)` remain, as well as lints still
requiring my attention.

Change-Id: I3166771af20b2d07c6226b3b1a9d15fe36152356
Diffstat (limited to 'src/database')
-rw-r--r--src/database/file/mod.rs1
-rw-r--r--src/database/postgres/mod.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/database/file/mod.rs b/src/database/file/mod.rs
index 5890f95..db9bb22 100644
--- a/src/database/file/mod.rs
+++ b/src/database/file/mod.rs
@@ -528,6 +528,7 @@ impl Storage for FileStorage {
         limit: usize,
         user: Option<&url::Url>
     ) -> Result<Option<(serde_json::Value, Option<String>)>> {
+        #[allow(deprecated)]
         Ok(self.read_feed_with_limit(
             url,
             cursor,
diff --git a/src/database/postgres/mod.rs b/src/database/postgres/mod.rs
index 2c2dacc..98d9f8d 100644
--- a/src/database/postgres/mod.rs
+++ b/src/database/postgres/mod.rs
@@ -3,7 +3,6 @@ use std::borrow::Cow;
 use futures::{Stream, StreamExt};
 use kittybox_util::{micropub::Channel as MicropubChannel, MentionType};
 use sqlx::{ConnectOptions, Executor, PgPool};
-use crate::micropub::{MicropubUpdate, MicropubPropertyDeletion};
 
 use super::settings::Setting;
 use super::{Storage, Result, StorageError, ErrorKind};