Re-export bytes::Buf and bytes::BufMut as well

Signed-off-by: Daniel Egger <daniel.egger@axiros.com>
This commit is contained in:
Daniel Egger 2020-10-23 10:29:28 +02:00
parent 98243db9f1
commit 076b758f41
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ use actix_router::IntoPattern;
use std::future::Future; use std::future::Future;
pub use actix_http::Response as HttpResponse; 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; pub use futures_channel::oneshot::Canceled;
use crate::error::BlockingError; use crate::error::BlockingError;