From ac2d63b41719b0a58a4e86a0880c4e04c6e13193 Mon Sep 17 00:00:00 2001 From: fakeshadow <24548779@qq.com> Date: Sat, 5 Dec 2020 13:53:39 +0800 Subject: [PATCH] re-export tokio_util::io::poll_read_buf --- actix-codec/CHANGES.md | 2 +- actix-codec/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/actix-codec/CHANGES.md b/actix-codec/CHANGES.md index c7f2d576..3182f737 100644 --- a/actix-codec/CHANGES.md +++ b/actix-codec/CHANGES.md @@ -3,7 +3,7 @@ ## Unreleased - 2020-xx-xx * Upgrade `pin-project` to `1.0`. * Update `tokio` dependency to 0.3.1. -* Update `tokio-util` dependency to 0.4. +* Update `tokio-util` dependency to 0.5.1. ## 0.3.0 - 2020-08-23 * No changes from beta 2. diff --git a/actix-codec/src/lib.rs b/actix-codec/src/lib.rs index b5f32066..48028d8b 100644 --- a/actix-codec/src/lib.rs +++ b/actix-codec/src/lib.rs @@ -20,3 +20,4 @@ pub use self::framed::{Framed, FramedParts}; pub use tokio::io::{AsyncRead, AsyncWrite, ReadBuf}; pub use tokio_util::codec::{Decoder, Encoder}; +pub use tokio_util::io::poll_read_buf;