Skip to content

Commit 588cca2

Browse files
committed
Migrate to hyper 1.0
1 parent 89b971f commit 588cca2

File tree

14 files changed

+1012
-142
lines changed

14 files changed

+1012
-142
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ cookie = "^0.16.0"
1515
anyhow = "^1.0.27"
1616
futures = "^0.3.1"
1717
futures-timer = "^3.0"
18-
headers = "^0.3.2"
19-
hyper = { version = "0.14", features = ["full"] }
18+
headers = "^0.4"
19+
hyper = { version = "1.0", features = ["full"] }
20+
hyper-util = { version = "0.1.1", features = ["tokio", "server", "server-auto"] }
21+
http-body-util = "0.1.0"
2022
itertools = "^0.10.0"
2123
lazy_static = "^1.4.0"
2224
mime = "^0.3.13"
@@ -26,12 +28,13 @@ serde = "^1.0.98"
2628
serde_derive = "^1.0.98"
2729
serde_urlencoded = "^0.7"
2830
url = "^2.2.1"
29-
tokio = { version = "1.5.0", features = ["full"] }
31+
tokio = { version = "1.25.0", features = ["full"] }
3032
tower = { version = "^0.4.12", features = ["full"] }
31-
tower-http = { version = "^0.2.5", features=["trace"] }
33+
tower-http = { version = "^0.5", features=["trace"] }
3234
tracing = "0.1"
3335
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
3436
uri_path = { path = "uri_path" }
37+
hyper_body = { path = "hyper_body" }
3538

3639
[[bin]]
3740
name = "httpbox"

hyper_body/Cargo.lock

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

hyper_body/Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "hyper_body"
3+
version = "0.1.0"
4+
authors = ["Kevin Stone <kevinastone@gmail.com>"]
5+
edition = "2021"
6+
7+
[dependencies]
8+
futures = "^0.3.1"
9+
http-body = "1.0.0"
10+
http-body-util = "0.1.0"
11+
hyper = "1.0"
12+
pin-project-lite = "0.2.7"
13+
sync_wrapper = "0.1.1"

0 commit comments

Comments
 (0)