From 9d1b428b344c0d78cd70b8b481c58c43546b20da Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 17 Jul 2019 13:31:00 +0600 Subject: [PATCH] undeprecate framed transport --- actix-utils/CHANGES.md | 7 +++++++ actix-utils/Cargo.toml | 2 +- actix-utils/src/framed.rs | 10 ---------- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/actix-utils/CHANGES.md b/actix-utils/CHANGES.md index f1e1b05e..87c583d6 100644 --- a/actix-utils/CHANGES.md +++ b/actix-utils/CHANGES.md @@ -1,5 +1,12 @@ # Changes +## [0.4.4] - 2019-07-17 + +### Changed + +* Undeprecate `FramedTransport` as it is actually useful + + ## [0.4.3] - 2019-07-17 ### Deprecated diff --git a/actix-utils/Cargo.toml b/actix-utils/Cargo.toml index 230c991b..f464ba82 100644 --- a/actix-utils/Cargo.toml +++ b/actix-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-utils" -version = "0.4.3" +version = "0.4.4" authors = ["Nikolay Kim "] description = "Actix utils - various actix net related services" keywords = ["network", "framework", "async", "futures"] diff --git a/actix-utils/src/framed.rs b/actix-utils/src/framed.rs index 5eb472f7..7be2c750 100644 --- a/actix-utils/src/framed.rs +++ b/actix-utils/src/framed.rs @@ -1,4 +1,3 @@ -#![allow(deprecated)] //! Framed dispatcher service and related utilities use std::collections::VecDeque; use std::{fmt, mem}; @@ -15,8 +14,6 @@ use crate::cell::Cell; type Request = ::Item; type Response = ::Item; -#[doc(hidden)] -#[deprecated(since = "0.4.3", note = "support will be removed in actix-utils 0.4.5")] /// Framed transport errors pub enum FramedTransportError { Service(E), @@ -66,18 +63,11 @@ where } } -#[doc(hidden)] -#[deprecated(since = "0.4.3", note = "support will be removed in actix-utils 0.4.5")] pub enum FramedMessage { Message(T), Close, } -#[doc(hidden)] -#[deprecated( - since = "0.4.3", - note = "please use `actix_ioframe` instead. support will be removed in actix-utils 0.4.5" -)] /// FramedTransport - is a future that reads frames from Framed object /// and pass then to the service. pub struct FramedTransport