1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 16:52:58 +01:00

remove unused type parameter from Framed::replace_codec (#183)

This commit is contained in:
Rob Ede 2020-08-20 00:30:26 +01:00 committed by GitHub
parent 119dc39f5b
commit 27c6be9881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 6 deletions

View File

@ -2,6 +2,9 @@
## Unreleased - 2020-xx-xx
## 0.3.0-beta.2 - 2020-08-19
* Remove unused type parameter from `Framed::replace_codec`.
## 0.3.0-beta.1 - 2020-08-19
* Use `.advance()` instead of `.split_to()`.
* Upgrade `tokio-util` to `0.3`.

View File

@ -1,6 +1,6 @@
[package]
name = "actix-codec"
version = "0.3.0-beta.1"
version = "0.3.0-beta.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Utilities for encoding and decoding frames"
keywords = ["network", "framework", "async", "futures"]

View File

@ -117,7 +117,7 @@ impl<T, U> Framed<T, U> {
}
/// Consume the `Frame`, returning `Frame` with different codec.
pub fn replace_codec<U2, I2>(self, codec: U2) -> Framed<T, U2> {
pub fn replace_codec<U2>(self, codec: U2) -> Framed<T, U2> {
Framed {
codec,
io: self.io,

View File

@ -32,7 +32,7 @@ uri = ["http"]
[dependencies]
actix-service = "1.0.3"
actix-codec = "0.2.0"
actix-codec = "0.3.0-beta.2"
actix-utils = "1.0.6"
actix-rt = "1.0.0"
derive_more = "0.99.2"

View File

@ -23,7 +23,7 @@ default = []
[dependencies]
actix-service = "1.0.1"
actix-rt = "1.0.0"
actix-codec = "0.2.0"
actix-codec = "0.3.0-beta.2"
actix-utils = "1.0.4"
log = "0.4"

View File

@ -33,7 +33,7 @@ nativetls = ["native-tls", "tokio-tls"]
[dependencies]
actix-service = "1.0.0"
actix-codec = "0.2.0"
actix-codec = "0.3.0-beta.2"
actix-utils = "1.0.0"
actix-rt = "1.0.0"
derive_more = "0.99.2"

View File

@ -16,7 +16,7 @@ name = "actix_utils"
path = "src/lib.rs"
[dependencies]
actix-codec = "0.3.0-beta.1"
actix-codec = "0.3.0-beta.2"
actix-rt = "1.1.1"
actix-service = "1.0.6"
bitflags = "1.2.1"