mirror of
https://github.com/fafhrd91/actix-net
synced 2025-02-17 14:43:31 +01:00
undeprecate framed transport
This commit is contained in:
parent
42d526bced
commit
9d1b428b34
@ -1,5 +1,12 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## [0.4.4] - 2019-07-17
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Undeprecate `FramedTransport` as it is actually useful
|
||||||
|
|
||||||
|
|
||||||
## [0.4.3] - 2019-07-17
|
## [0.4.3] - 2019-07-17
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-utils"
|
name = "actix-utils"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix utils - various actix net related services"
|
description = "Actix utils - various actix net related services"
|
||||||
keywords = ["network", "framework", "async", "futures"]
|
keywords = ["network", "framework", "async", "futures"]
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#![allow(deprecated)]
|
|
||||||
//! Framed dispatcher service and related utilities
|
//! Framed dispatcher service and related utilities
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
use std::{fmt, mem};
|
use std::{fmt, mem};
|
||||||
@ -15,8 +14,6 @@ use crate::cell::Cell;
|
|||||||
type Request<U> = <U as Decoder>::Item;
|
type Request<U> = <U as Decoder>::Item;
|
||||||
type Response<U> = <U as Encoder>::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
|
/// Framed transport errors
|
||||||
pub enum FramedTransportError<E, U: Encoder + Decoder> {
|
pub enum FramedTransportError<E, U: Encoder + Decoder> {
|
||||||
Service(E),
|
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> {
|
pub enum FramedMessage<T> {
|
||||||
Message(T),
|
Message(T),
|
||||||
Close,
|
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
|
/// FramedTransport - is a future that reads frames from Framed object
|
||||||
/// and pass then to the service.
|
/// and pass then to the service.
|
||||||
pub struct FramedTransport<S, T, U>
|
pub struct FramedTransport<S, T, U>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user