feat: repository architecture for files crate w. added tests

Signed-off-by: izzy <me@insrt.uk>
This commit is contained in:
izzy
2026-01-24 01:25:42 +00:00
parent 9c2ae59ecf
commit e896582a5c
25 changed files with 1432 additions and 462 deletions

View File

@@ -8,7 +8,13 @@ description = "Revolt Backend: S3 and encryption subroutines"
repository = "https://github.com/stoatchat/stoatchat"
[dependencies]
tracing = "0.1"
anyhow = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
tokio = { workspace = true }
async-trait = { workspace = true }
ffprobe = "0.4.0"
imagesize = "0.13.0"
@@ -27,8 +33,8 @@ revolt-config = { version = "0.9.4", path = "../config", features = [
revolt-result = { version = "0.9.4", path = "../result" }
# image processing
jxl-oxide = "0.8.1"
image = { version = "0.25.2" }
jxl-oxide = { workspace = true }
image = { workspace = true }
# svg rendering
usvg = "0.44.0"
@@ -37,3 +43,6 @@ tiny-skia = "0.11.4"
# encoding
webp = "0.3.0"
[dev-dependencies]
uuid = { workspace = true }