Add ZIP download endpoint

This commit is contained in:
Markus Unterwaditzer
2025-06-18 23:31:31 +02:00
committed by Will Greenberg
parent 29823d3e82
commit b2502847a1
9 changed files with 270 additions and 35 deletions
Generated
+17
View File
@@ -249,6 +249,20 @@ dependencies = [
"syn 2.0.101",
]
[[package]]
name = "async_zip"
version = "0.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b9f7252833d5ed4b00aa9604b563529dd5e11de9c23615de2dcdf91eb87b52"
dependencies = [
"crc32fast",
"futures-lite",
"pin-project",
"thiserror 1.0.69",
"tokio",
"tokio-util",
]
[[package]]
name = "atomic-waker"
version = "1.1.2"
@@ -2374,6 +2388,8 @@ dependencies = [
name = "rayhunter-daemon"
version = "0.3.4"
dependencies = [
"anyhow",
"async_zip",
"axum",
"chrono",
"clap",
@@ -3067,6 +3083,7 @@ checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df"
dependencies = [
"bytes",
"futures-core",
"futures-io",
"futures-sink",
"futures-util",
"hashbrown",