Skip to content

Commit 380d2a9

Browse files
committed
feat(tree-wide): migrate to Hyper 1.x
1 parent 8d3cd35 commit 380d2a9

File tree

4 files changed

+185
-65
lines changed

4 files changed

+185
-65
lines changed

Cargo.lock

Lines changed: 86 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,13 @@ futures = "0.3"
4646
gzp = { version = "0.11.3", default-features = false, features = [
4747
"deflate_rust",
4848
] }
49-
http = "0.2"
50-
hyper = { version = "0.14.27", optional = true, features = ["server"] }
49+
http = "1.0"
50+
http-body-util = { version = "0.1", optional = true }
51+
hyper = { version = "1.1", optional = true, features = ["server", "http1"] }
52+
hyper-util = { version = "0.1.2", optional = true, features = [
53+
"tokio",
54+
"server",
55+
] }
5156
is-terminal = "0.4.10"
5257
jobserver = "0.1"
5358
jwt = { package = "jsonwebtoken", version = "9", optional = true }
@@ -165,7 +170,15 @@ vendored-openssl = ["openssl?/vendored", "opendal?/native-tls-vendored"]
165170
# Enable features that require unstable features of Nightly Rust.
166171
unstable = []
167172
# Enables distributed support in the sccache client
168-
dist-client = ["flate2", "hyper", "reqwest", "url", "sha2"]
173+
dist-client = [
174+
"flate2",
175+
"hyper",
176+
"http-body-util",
177+
"hyper-util",
178+
"reqwest",
179+
"url",
180+
"sha2",
181+
]
169182
# Enables the sccache-dist binary
170183
dist-server = [
171184
"jwt",

0 commit comments

Comments
 (0)