Add exact resumable HTTP source streaming

This commit is contained in:
ms2k 2026-07-17 05:31:50 +09:00
commit 5b43b6c660

29
Cargo.lock generated
View file

@ -1119,6 +1119,12 @@ version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
name = "httpdate"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
[[package]]
name = "hybrid-array"
version = "0.4.13"
@ -2018,7 +2024,7 @@ dependencies = [
"once_cell",
"socket2",
"tracing",
"windows-sys 0.52.0",
"windows-sys 0.61.2",
]
[[package]]
@ -2302,6 +2308,23 @@ dependencies = [
"tokio",
]
[[package]]
name = "remora-http-source"
version = "0.0.0"
dependencies = [
"bytes",
"http 1.4.2",
"httpdate",
"ipnet",
"remora-domain",
"remora-outbound",
"remora-stream",
"reqwest 0.12.28",
"sha2 0.11.0",
"thiserror",
"tokio",
]
[[package]]
name = "remora-identity"
version = "0.0.0"
@ -2647,7 +2670,7 @@ dependencies = [
"security-framework",
"security-framework-sys",
"webpki-root-certs",
"windows-sys 0.52.0",
"windows-sys 0.61.2",
]
[[package]]
@ -3670,7 +3693,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
"windows-sys 0.52.0",
"windows-sys 0.61.2",
]
[[package]]