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

@@ -1,7 +1,7 @@
use super::table::{Index, Table};
use super::{huffman, Header};
use bytes::{buf::ext::Limit, BufMut, BytesMut};
use bytes::{buf::Limit, BufMut, BytesMut};
use http::header::{HeaderName, HeaderValue};
type DstBuf<'a> = Limit<&'a mut BytesMut>;
@@ -428,7 +428,7 @@ fn rewind(buf: &mut DstBuf<'_>, pos: usize) {
mod test {
use super::*;
use crate::hpack::Header;
use bytes::buf::BufMutExt;
use bytes::buf::BufMut;
use http::*;
#[test]