From 076b758f41ac84fdd3a23f14d4953c4df12048dc Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Fri, 23 Oct 2020 10:29:28 +0200 Subject: [PATCH] Re-export bytes::Buf and bytes::BufMut as well Signed-off-by: Daniel Egger --- src/web.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web.rs b/src/web.rs index 1d1174f41..e49ba3651 100644 --- a/src/web.rs +++ b/src/web.rs @@ -4,7 +4,7 @@ use actix_router::IntoPattern; use std::future::Future; pub use actix_http::Response as HttpResponse; -pub use bytes::{Bytes, BytesMut}; +pub use bytes::{Buf, BufMut, Bytes, BytesMut}; pub use futures_channel::oneshot::Canceled; use crate::error::BlockingError;