Skip to content

Commit

Permalink
Migrate to hyper 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinastone committed Dec 15, 2023
1 parent 89b971f commit 1717a4b
Show file tree
Hide file tree
Showing 14 changed files with 995 additions and 126 deletions.
360 changes: 287 additions & 73 deletions Cargo.lock

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ cookie = "^0.16.0"
anyhow = "^1.0.27"
futures = "^0.3.1"
futures-timer = "^3.0"
headers = "^0.3.2"
hyper = { version = "0.14", features = ["full"] }
headers = "^0.4"
hyper = { version = "1.0", features = ["full"] }
hyper-util = { version = "0.1.1", features = ["tokio", "server", "server-auto"] }
http-body-util = "0.1.0"
itertools = "^0.10.0"
lazy_static = "^1.4.0"
mime = "^0.3.13"
Expand All @@ -26,12 +28,13 @@ serde = "^1.0.98"
serde_derive = "^1.0.98"
serde_urlencoded = "^0.7"
url = "^2.2.1"
tokio = { version = "1.5.0", features = ["full"] }
tokio = { version = "1.25.0", features = ["full"] }
tower = { version = "^0.4.12", features = ["full"] }
tower-http = { version = "^0.2.5", features=["trace"] }
tower-http = { version = "^0.5", features=["trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uri_path = { path = "uri_path" }
hyper_body = { path = "hyper_body" }

[[bin]]
name = "httpbox"
Expand Down
336 changes: 336 additions & 0 deletions hyper_body/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions hyper_body/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "hyper_body"
version = "0.1.0"
authors = ["Kevin Stone <kevinastone@gmail.com>"]
edition = "2021"

[dependencies]
futures = "^0.3.1"
http-body = "1.0.0"
http-body-util = "0.1.0"
hyper = "1.0"
pin-project-lite = "0.2.7"
sync_wrapper = "0.1.1"
Loading

0 comments on commit 1717a4b

Please sign in to comment.