Upgrade `async_http_range_reader` to v0.8.0 (#3460)

## Summary

Closes #2025.
Closes https://github.com/astral-sh/uv/issues/3255.
Closes https://github.com/astral-sh/uv/pull/2843.
This commit is contained in:
Charlie Marsh 2024-05-08 10:54:08 -04:00 committed by GitHub
parent 76a3ceb2ca
commit 18d229e2bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

4
Cargo.lock generated
View File

@ -239,9 +239,9 @@ dependencies = [
[[package]]
name = "async_http_range_reader"
version = "0.7.1"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8561e6613f8361df8bed11c0eef05b98384643bc81f6b753eec7c1d91f097509"
checksum = "f1a0e0571c5d724d17fbe0b608d31a91e94938722c141877d3a2982216b084c2"
dependencies = [
"bisection",
"futures",

View File

@ -53,7 +53,7 @@ anyhow = { version = "1.0.80" }
async-channel = { version = "2.2.0" }
async-compression = { version = "0.4.6" }
async-trait = { version = "0.1.78" }
async_http_range_reader = { version = "0.7.1" }
async_http_range_reader = { version = "0.8.0" }
async_zip = { git = "https://github.com/charliermarsh/rs-async-zip", rev = "1dcb40cfe1bf5325a6fd4bfcf9894db40241f585", features = ["deflate"] }
axoupdater = { version = "0.6.0", default-features = false }
backoff = { version = "0.4.0" }

View File

@ -519,6 +519,7 @@ impl RegistryClient {
let mut reader = AsyncHttpRangeReader::from_head_response(
self.uncached_client().client(),
response,
url.clone(),
headers,
)
.await