mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-23 21:51:06 +01:00
undeprecate framed transport
This commit is contained in:
parent
42d526bced
commit
9d1b428b34
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "actix-utils"
|
||||
version = "0.4.3"
|
||||
version = "0.4.4"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
description = "Actix utils - various actix net related services"
|
||||
keywords = ["network", "framework", "async", "futures"]
|
||||
|
@ -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<U> = <U as Decoder>::Item;
|
||||
type Response<U> = <U as Encoder>::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<E, U: Encoder + Decoder> {
|
||||
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<T> {
|
||||
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<S, T, U>
|
||||
|
Loading…
Reference in New Issue
Block a user