perf: improve compression reliability and deployment safety
This commit is contained in:
15
Cargo.toml
15
Cargo.toml
@@ -25,7 +25,7 @@ chrono = { version = "0.4", features = ["serde"] }
|
||||
dotenvy = "0.15"
|
||||
|
||||
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] }
|
||||
redis = { version = "0.24", features = ["tokio-comp", "connection-manager", "streams"] }
|
||||
redis = { version = "0.24.1", features = ["tokio-comp", "connection-manager", "streams"] }
|
||||
|
||||
# Auth / security
|
||||
argon2 = "0.5"
|
||||
@@ -33,15 +33,18 @@ base64 = "0.22"
|
||||
hex = "0.4"
|
||||
hmac = "0.12"
|
||||
jsonwebtoken = "9"
|
||||
percent-encoding = "2"
|
||||
rand = "0.8"
|
||||
sha2 = "0.10"
|
||||
aes-gcm = "0.10"
|
||||
|
||||
# Images
|
||||
image = { version = "0.25", features = ["avif-native"] }
|
||||
# Keep image-rs limited to formats exposed by the API. AVIF decoding uses
|
||||
# libdav1d on Linux; encoding is handled by the direct ravif dependency.
|
||||
image = { version = "0.25", default-features = false, features = ["bmp", "gif", "ico", "jpeg", "png", "tiff", "webp"] }
|
||||
oxipng = "9"
|
||||
ravif = "0.11"
|
||||
webp = "0.3"
|
||||
ravif = { version = "0.11", default-features = false, features = ["threading"] }
|
||||
webp = { version = "0.3", default-features = false }
|
||||
rgb = "0.8"
|
||||
img-parts = "0.4"
|
||||
|
||||
@@ -54,3 +57,7 @@ lettre = { version = "0.11", default-features = false, features = ["tokio1", "to
|
||||
# ZIP download (batch)
|
||||
tokio-util = { version = "0.7", features = ["io"] }
|
||||
zip = "2"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
image = { version = "0.25", default-features = false, features = ["avif-native"] }
|
||||
ravif = { version = "0.11", default-features = false, features = ["asm", "threading"] }
|
||||
|
||||
Reference in New Issue
Block a user