Display file sizes for attachments (#278)

This commit is contained in:
Aurore Poirier 2024-05-26 01:16:04 +02:00 committed by GitHub
parent 64e4f67e43
commit 497be7f099
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 135 additions and 4 deletions

16
Cargo.lock generated
View file

@ -2029,6 +2029,15 @@ version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
[[package]]
name = "humansize"
version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6cb51c9a029ddc91b07a787f1d86b53ccfa49b0e86688c946ebe8d3555685dd7"
dependencies = [
"libm",
]
[[package]]
name = "hyper"
version = "0.14.28"
@ -2095,6 +2104,7 @@ dependencies = [
"futures",
"gethostname",
"html5ever",
"humansize",
"image",
"lazy_static 1.4.0",
"libc",
@ -2461,6 +2471,12 @@ dependencies = [
"windows-targets 0.48.5",
]
[[package]]
name = "libm"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
[[package]]
name = "libredox"
version = "0.1.3"