Re enable h3 in reqwest and remove impl Sync on returned Future in binstalk-git-repo-api (#1783)

* Upgrade transitive dependencies

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Re-enable h3

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix `binstalk-git-repo-api`

Remove `Sync` bound on returned `Future`, since `tokio::spawn` does not require it

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-06-18 23:30:23 +10:00 committed by GitHub
parent fc1117d0e4
commit ef7ca1ba9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 130 additions and 48 deletions

View file

@ -35,7 +35,7 @@ flate2 = { version = "1.0.28", default-features = false }
futures-util = "0.3.30"
futures-io = "0.3.30"
httpdate = "1.0.2"
reqwest = { version = "0.12.4", features = [
reqwest = { version = "0.12.5", features = [
"http2",
"stream",
"zstd",
@ -118,8 +118,7 @@ trust-dns = ["hickory-dns"]
#
# Experimental HTTP/3 client, this would require `--cfg reqwest_unstable`
# to be passed to `rustc`.
#http3 = ["reqwest/http3"]
http3 = []
http3 = ["reqwest/http3"]
zstd-thin = ["zstd/thin"]