mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Enable unstable feature reqwest/http3
in CI (#1261)
For dev and release build, so that pre-built binaries of `cargo-binstall` can utilize http3 protocol. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
a9e2ef11f1
commit
9c521d162a
7 changed files with 163 additions and 11 deletions
|
@ -67,6 +67,10 @@ native-tls = ["binstalk/native-tls"]
|
|||
|
||||
trust-dns = ["binstalk/trust-dns"]
|
||||
|
||||
# Experimental HTTP/3 client, this would require `--cfg reqwest_unstable`
|
||||
# to be passed to `rustc`.
|
||||
http3 = ["binstalk/http3"]
|
||||
|
||||
zstd-thin = ["binstalk/zstd-thin"]
|
||||
cross-lang-fat-lto = ["binstalk/cross-lang-fat-lto"]
|
||||
|
||||
|
|
|
@ -23,6 +23,9 @@ generic-array = "0.14.7"
|
|||
httpdate = "1.0.2"
|
||||
reqwest = { version = "0.11.18", features = ["stream", "gzip", "brotli", "deflate"], default-features = false }
|
||||
percent-encoding = "2.2.0"
|
||||
# Pull in due to https://github.com/seanmonstar/reqwest/pull/1846 , please
|
||||
# remove this once new reqwest release is out.
|
||||
quinn = { version = "0.10", default-features = false, features = ["runtime-tokio"], optional = true }
|
||||
serde = { version = "1.0.163", features = ["derive"], optional = true }
|
||||
serde-tuple-vec-map = "1.0.1"
|
||||
serde_json = { version = "1.0.96", optional = true }
|
||||
|
@ -77,6 +80,10 @@ native-tls = ["__tls", "reqwest/native-tls", "trust-dns-resolver?/dns-over-nativ
|
|||
# Enable trust-dns-resolver so that features on it will also be enabled.
|
||||
trust-dns = ["trust-dns-resolver", "reqwest/trust-dns"]
|
||||
|
||||
# Experimental HTTP/3 client, this would require `--cfg reqwest_unstable`
|
||||
# to be passed to `rustc`.
|
||||
http3 = ["reqwest/http3", "dep:quinn"]
|
||||
|
||||
zstd-thin = ["zstd/thin"]
|
||||
|
||||
cross-lang-fat-lto = ["zstd/fat-lto"]
|
||||
|
|
|
@ -65,6 +65,10 @@ native-tls = ["binstalk-downloader/native-tls"]
|
|||
|
||||
trust-dns = ["binstalk-downloader/trust-dns"]
|
||||
|
||||
# Experimental HTTP/3 client, this would require `--cfg reqwest_unstable`
|
||||
# to be passed to `rustc`.
|
||||
http3 = ["binstalk-downloader/http3"]
|
||||
|
||||
zstd-thin = ["binstalk-downloader/zstd-thin"]
|
||||
cross-lang-fat-lto = ["binstalk-downloader/cross-lang-fat-lto"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue