Files
stoatchat/crates/core/files/Cargo.toml
infi 8e2eacb1b0 fix: internal server error when uploading AVIF (#937)
* fix: add avif feature to dependencies

the comment should also say decode, encode uses rav1e not dav1d

Signed-off-by: infi <infi@infi.sh>

* chore: upgrade to debian 13

Signed-off-by: infi <infi@infi.sh>

* fix: revert unrelated EOF newlines

Signed-off-by: infi <infi@infi.sh>

* ci: provide dav1d

also in nix

Signed-off-by: infi <infi@infi.sh>

* chore: move feature definition to autumn Cargo.toml

Signed-off-by: infi <infi@infi.sh>

* fix: avif feature also required in revolt-files

Signed-off-by: infi <infi@infi.sh>

---------

Signed-off-by: infi <infi@infi.sh>
2026-08-24 10:56:15 -07:00

49 lines
1.2 KiB
TOML

[package]
name = "revolt-files"
version = "0.15.1"
edition = "2021"
license = "AGPL-3.0-or-later"
authors = ["Paul Makles <me@insrt.uk>"]
description = "Revolt Backend: S3 and encryption subroutines"
repository = "https://github.com/stoatchat/stoatchat"
[dependencies]
anyhow = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
tokio = { workspace = true }
async-trait = { workspace = true }
ffprobe = { workspace = true }
imagesize = { workspace = true }
tempfile = { workspace = true }
base64 = { workspace = true }
aes-gcm = { workspace = true }
typenum = { workspace = true }
aws-config = { workspace = true }
aws-sdk-s3 = { workspace = true, features = ["behavior-version-latest"] }
revolt-config = { workspace = true, features = [
"report-macros",
] }
revolt-result = { workspace = true }
# image processing
jxl-oxide = { workspace = true, features = ["image"] }
image = { workspace = true, features = ["avif-native"] } # AVIF decoding requires dav1d
# svg rendering
usvg = { workspace = true }
resvg = { workspace = true }
tiny-skia = { workspace = true }
# encoding
webp = { workspace = true }
[dev-dependencies]
uuid = { workspace = true, features = ["v4"] }