chore: move image stuff to axum-image

This commit is contained in:
trisua 2025-08-24 12:08:13 -04:00
parent dbed2b2457
commit e8cc541f45
15 changed files with 48 additions and 244 deletions

17
Cargo.lock generated
View file

@ -268,6 +268,20 @@ dependencies = [
"tower-service",
]
[[package]]
name = "axum-image"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de35bd1017c1de1f86ceec9abf59e33670dfced76bd6ef756f469ac4588af4f7"
dependencies = [
"axum",
"axum-extra",
"image",
"serde",
"serde_json",
"webp",
]
[[package]]
name = "axum-macros"
version = "0.5.0"
@ -3342,12 +3356,12 @@ dependencies = [
"async-stripe",
"axum",
"axum-extra",
"axum-image",
"cf-turnstile",
"contrasted",
"cookie",
"emojis",
"futures-util",
"image",
"mime_guess",
"nanoneo",
"pathbufd",
@ -3363,7 +3377,6 @@ dependencies = [
"tower-http",
"tracing",
"tracing-subscriber",
"webp",
]
[[package]]