db: add MIME sniffing for binary clipboard previews

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I70416269dd40496758b6e5431e77a9456a6a6964
This commit is contained in:
raf 2026-02-27 10:34:32 +03:00
commit 181edcefb1
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 307 additions and 20 deletions

View file

@ -27,6 +27,7 @@ imagesize = "0.14.0"
inquire = { version = "0.9.4", default-features = false, features = [ "crossterm" ] }
libc = "0.2.182"
log = "0.4.29"
mime-sniffer = "0.1.3"
notify-rust = { version = "4.12.0", optional = true }
ratatui = "0.30.0"
regex = "1.12.3"