- Add persistent disk cache for processed images - Optimize image processing with short-circuit and quality settings - Add WebP lossy encoding with configurable quality - Add settings API endpoints (GET/POST /settings, cache management) - Add database table for app configuration - Add /settings page in backoffice for image/cache/limits config - Add cache stats and clear functionality - Update navigation with settings link
35 lines
884 B
TOML
35 lines
884 B
TOML
[package]
|
|
name = "api"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
argon2.workspace = true
|
|
axum.workspace = true
|
|
base64.workspace = true
|
|
async-stream = "0.3"
|
|
chrono.workspace = true
|
|
futures = "0.3"
|
|
image.workspace = true
|
|
lru.workspace = true
|
|
stripstream-core = { path = "../../crates/core" }
|
|
rand.workspace = true
|
|
tokio-stream = "0.1"
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
sqlx.workspace = true
|
|
tokio.workspace = true
|
|
tower.workspace = true
|
|
tower-http = { version = "0.6", features = ["cors"] }
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
uuid.workspace = true
|
|
zip = { version = "2.2", default-features = false, features = ["deflate"] }
|
|
utoipa.workspace = true
|
|
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
|
|
webp = "0.3"
|