Upgrade to bytes 0.6 (#497)

* Upgrade to bytes 0.6

* Update Cargo.toml

Co-authored-by: Eliza Weisman <eliza@buoyant.io>

* Update tests/h2-support/Cargo.toml

Co-authored-by: Eliza Weisman <eliza@buoyant.io>

Co-authored-by: Eliza Weisman <eliza@buoyant.io>
This commit is contained in:
Paolo Barbolini
2020-11-19 23:38:56 +01:00
committed by GitHub
parent cbbdd305b1
commit 5a92f256c0
11 changed files with 17 additions and 20 deletions

View File

@@ -11,5 +11,5 @@ h2 = { path = "../.." }
env_logger = { version = "0.5.3", default-features = false }
futures = { version = "0.3", default-features = false, features = ["std"] }
honggfuzz = "0.5"
http = "0.2"
tokio = { version = "0.3", features = [] }
http = { git = "https://github.com/paolobarbolini/http.git", branch = "bytes06" }
tokio = { version = "0.3.2", features = [] }

View File

@@ -7,10 +7,10 @@ edition = "2018"
[dependencies]
h2 = { path = "../..", features = ["stream", "unstable"] }
bytes = "0.5"
bytes = "0.6"
tracing = "0.1"
tracing-subscriber = { version = "0.2", default-features = false, features = ["fmt", "chrono", "ansi"] }
futures = { version = "0.3", default-features = false }
http = "0.2"
tokio = { version = "0.3", features = ["time"] }
tokio = { version = "0.3.2", features = ["time"] }
tokio-test = "0.3"

View File

@@ -42,10 +42,7 @@ pub use super::client_ext::SendRequestExt;
// Re-export HTTP types
pub use http::{uri, HeaderMap, Method, Request, Response, StatusCode, Version};
pub use bytes::{
buf::{BufExt, BufMutExt},
Buf, BufMut, Bytes, BytesMut,
};
pub use bytes::{Buf, BufMut, Bytes, BytesMut};
pub use tokio::io::{AsyncRead, AsyncWrite};

View File

@@ -11,4 +11,4 @@ edition = "2018"
h2-support = { path = "../h2-support" }
tracing = "0.1.13"
futures = { version = "0.3", default-features = false, features = ["alloc"] }
tokio = { version = "0.3", features = ["macros", "net", "rt", "io-util"] }
tokio = { version = "0.3.2", features = ["macros", "net", "rt", "io-util"] }