feat(media): retention policies

This commit is contained in:
Matthias Ahouansou
2025-04-16 13:15:01 +01:00
parent 594fe5f98f
commit c3fb1b0456
11 changed files with 698 additions and 61 deletions

21
Cargo.lock generated
View File

@@ -402,6 +402,15 @@ version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
[[package]]
name = "bytesize"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3c8f83209414aacf0eeae3cf730b18d6981697fba62f200fcfb92b9f082acba"
dependencies = [
"serde",
]
[[package]]
name = "bzip2-sys"
version = "0.1.11+1.0.8"
@@ -524,6 +533,7 @@ dependencies = [
"axum-server",
"base64 0.22.1",
"bytes",
"bytesize",
"chrono",
"clap",
"directories",
@@ -534,6 +544,7 @@ dependencies = [
"hmac",
"http 1.1.0",
"humantime",
"humantime-serde",
"hyper 1.3.1",
"hyper-util",
"image",
@@ -1232,6 +1243,16 @@ version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f"
[[package]]
name = "humantime-serde"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c"
dependencies = [
"humantime",
"serde",
]
[[package]]
name = "hyper"
version = "0.14.29"