Skip to content

Commit d2a89d7

Browse files
liushuyusylvestre
authored andcommitted
feat(tree-wide): migrate to Hyper 1.x
1 parent dc994e8 commit d2a89d7

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 }
@@ -167,7 +172,15 @@ vendored-openssl = ["openssl?/vendored", "opendal?/native-tls-vendored"]
167172
# Enable features that require unstable features of Nightly Rust.
168173
unstable = []
169174
# Enables distributed support in the sccache client
170-
dist-client = ["flate2", "hyper", "reqwest", "url", "sha2"]
175+
dist-client = [
176+
"flate2",
177+
"hyper",
178+
"http-body-util",
179+
"hyper-util",
180+
"reqwest",
181+
"url",
182+
"sha2",
183+
]
171184
# Enables the sccache-dist binary
172185
dist-server = [
173186
"jwt",

0 commit comments

Comments
 (0)