feat: add ETag & Cache-Control headers, cached hexadecimal hashes via rapidhash

This commit is contained in:
2025-09-13 13:24:54 -05:00
parent 404a52e64c
commit e3b638a7d8
4 changed files with 164 additions and 27 deletions

10
Cargo.lock generated
View File

@@ -240,6 +240,7 @@ dependencies = [
"once_cell",
"poise",
"rand 0.9.2",
"rapidhash",
"regex",
"reqwest 0.12.23",
"reqwest-middleware",
@@ -2218,6 +2219,15 @@ dependencies = [
"getrandom 0.3.3",
]
[[package]]
name = "rapidhash"
version = "4.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "164772177ee16e3b074e6019c63cd92cb3cecf38e8c40d097675958b86dd8084"
dependencies = [
"rustversion",
]
[[package]]
name = "raw-cpuid"
version = "11.6.0"