chore: bump dependencies; fix lifetime warnings for Rust 1.90+

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: If755ceefb970311c7660118cb2019c2c6a6a6964
This commit is contained in:
raf 2025-12-22 16:45:19 +03:00
commit c2182d21dc
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
5 changed files with 116 additions and 31 deletions

View file

@ -61,14 +61,14 @@ impl SqliteClipboardDb {
.query([])
.map_err(|e| StashError::ListDecode(e.to_string().into()))?;
let mut entries: Vec<(u64, String, String)> = Vec::new();
let mut entries: Vec<(i64, String, String)> = Vec::new();
let mut max_id_width = 2;
let mut max_mime_width = 8;
while let Some(row) = rows
.next()
.map_err(|e| StashError::ListDecode(e.to_string().into()))?
{
let id: u64 = row
let id: i64 = row
.get(0)
.map_err(|e| StashError::ListDecode(e.to_string().into()))?;
let contents: Vec<u8> = row