feat(lib): update bytes to 0.6, update http-body (#2339)

This branch updates `bytes` and `http-body` to the latest versions. The
`http-body` version that uses `bytes` 0.6 hasn't been released yet, so
we depend on it via a git dep for now. Presumably Hyper and `http-body`
will synchronize their releases.

Other than that, this is a pretty mechanical update. Should fix the
build and unblock the `h2` update to use vectored writes.
This commit is contained in:
Eliza Weisman
2020-11-19 16:23:32 -08:00
committed by GitHub
parent ed2b22a7f6
commit 751c122589
6 changed files with 12 additions and 8 deletions

View File

@@ -22,12 +22,12 @@ include = [
]
[dependencies]
bytes = "0.5"
bytes = "0.6"
futures-core = { version = "0.3", default-features = false }
futures-channel = "0.3"
futures-util = { version = "0.3", default-features = false }
http = "0.2"
http-body = "0.3.1"
http-body = { git = "https://github.com/hyperium/http-body" }
httpdate = "0.3"
httparse = "1.0"
h2 = { git = "https://github.com/hyperium/h2", optional = true }
@@ -63,7 +63,7 @@ tokio = { version = "0.3", features = [
"test-util",
] }
tokio-test = "0.3"
tokio-util = { version = "0.4", features = ["codec"] }
tokio-util = { version = "0.5", features = ["codec"] }
tower-util = "0.3"
url = "1.0"