treewide: replace std hashers with rustc_hash alternatives; fix clippy
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I766c36cb53d3d7f9e85b91a67c4131a66a6a6964
This commit is contained in:
parent
d73bb4580d
commit
f831e58723
53 changed files with 343 additions and 394 deletions
54
Cargo.toml
54
Cargo.toml
|
|
@ -18,50 +18,28 @@ pinakes-plugin-api = { path = "./crates/pinakes-plugin-api" }
|
|||
pinakes-ui = { path = "./crates/pinakes-ui" }
|
||||
pinakes-tui = { path = "./crates/pinakes-tui" }
|
||||
|
||||
# Async runtime
|
||||
tokio = { version = "1.49.0", features = ["full"] }
|
||||
tokio-util = { version = "0.7.18", features = ["rt"] }
|
||||
|
||||
# Serialization
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.149"
|
||||
toml = "1.0.3"
|
||||
|
||||
# CLI argument parsing
|
||||
clap = { version = "4.5.60", features = ["derive", "env"] }
|
||||
|
||||
# Date/time
|
||||
chrono = { version = "0.4.44", features = ["serde"] }
|
||||
|
||||
# IDs
|
||||
uuid = { version = "1.21.0", features = ["v7", "serde"] }
|
||||
|
||||
# Error handling
|
||||
thiserror = "2.0.18"
|
||||
anyhow = "1.0.102"
|
||||
|
||||
# Logging
|
||||
tracing = "0.1.44"
|
||||
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
|
||||
|
||||
# Hashing
|
||||
blake3 = "1.8.3"
|
||||
|
||||
# Cryptographic signatures (plugin verification)
|
||||
rustc-hash = "2.1.1"
|
||||
ed25519-dalek = { version = "2.1.1", features = ["std"] }
|
||||
|
||||
# Metadata extraction
|
||||
lofty = "0.23.2"
|
||||
lopdf = "0.39.0"
|
||||
epub = "2.1.5"
|
||||
matroska = "0.30.0"
|
||||
gray_matter = "0.3.2"
|
||||
kamadak-exif = "0.6.1"
|
||||
|
||||
# Database - SQLite
|
||||
rusqlite = { version = "=0.37.0", features = ["bundled", "column_decltype"] }
|
||||
|
||||
# Database - PostgreSQL
|
||||
tokio-postgres = { version = "0.7.16", features = [
|
||||
"with-uuid-1",
|
||||
"with-chrono-0_4",
|
||||
|
|
@ -71,44 +49,24 @@ deadpool-postgres = "0.14.1"
|
|||
postgres-types = { version = "0.2.12", features = ["derive"] }
|
||||
postgres-native-tls = "0.5.2"
|
||||
native-tls = "0.2.18"
|
||||
|
||||
# Migrations
|
||||
refinery = { version = "0.9.0", features = ["rusqlite", "tokio-postgres"] }
|
||||
|
||||
# Filesystem
|
||||
walkdir = "2.5.0"
|
||||
notify = { version = "8.2.0", features = ["macos_fsevent"] }
|
||||
|
||||
# Search parser
|
||||
winnow = "0.7.14"
|
||||
|
||||
# HTTP server
|
||||
axum = { version = "0.8.8", features = ["macros", "multipart"] }
|
||||
axum-server = { version = "0.8.0" }
|
||||
tower = "0.5.3"
|
||||
tower-http = { version = "0.6.8", features = ["cors", "trace", "set-header"] }
|
||||
governor = "0.10.4"
|
||||
tower_governor = "0.8.0"
|
||||
|
||||
# HTTP client
|
||||
reqwest = { version = "0.13.2", features = ["json", "query", "blocking"] }
|
||||
url = "2.5"
|
||||
|
||||
# TUI
|
||||
ratatui = "0.30.0"
|
||||
crossterm = "0.29.0"
|
||||
|
||||
# Desktop/Web UI
|
||||
dioxus = { version = "0.7.3", features = ["desktop", "router"] }
|
||||
dioxus-core = { version = "0.7.3" }
|
||||
|
||||
# Async trait (dyn-compatible async methods)
|
||||
async-trait = "0.1.89"
|
||||
|
||||
# Async utilities
|
||||
futures = "0.3.32"
|
||||
|
||||
# Image processing (thumbnails)
|
||||
image = { version = "0.25.9", default-features = false, features = [
|
||||
"jpeg",
|
||||
"png",
|
||||
|
|
@ -117,15 +75,9 @@ image = { version = "0.25.9", default-features = false, features = [
|
|||
"tiff",
|
||||
"bmp",
|
||||
] }
|
||||
|
||||
# Markdown rendering
|
||||
pulldown-cmark = "0.13.1"
|
||||
ammonia = "4.1.2"
|
||||
|
||||
# Password hashing
|
||||
argon2 = { version = "0.5.3", features = ["std"] }
|
||||
|
||||
# Misc
|
||||
mime_guess = "2.0.5"
|
||||
regex = "1.12.3"
|
||||
dioxus-free-icons = { version = "0.10.0", features = ["font-awesome-solid"] }
|
||||
|
|
@ -137,12 +89,8 @@ urlencoding = "2.1.3"
|
|||
image_hasher = "3.1.1"
|
||||
percent-encoding = "2.3.2"
|
||||
http = "1.4.0"
|
||||
|
||||
# WASM runtime for plugins
|
||||
wasmtime = { version = "42.0.1", features = ["component-model"] }
|
||||
wit-bindgen = "0.53.1"
|
||||
|
||||
# Misc
|
||||
tempfile = "3.26.0"
|
||||
|
||||
# See:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue