From 27c6be9881d6f5973b698054b32e31663affccf2 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 20 Aug 2020 00:30:26 +0100 Subject: [PATCH] remove unused type parameter from Framed::replace_codec (#183) --- actix-codec/CHANGES.md | 3 +++ actix-codec/Cargo.toml | 2 +- actix-codec/src/framed.rs | 2 +- actix-connect/Cargo.toml | 2 +- actix-server/Cargo.toml | 2 +- actix-tls/Cargo.toml | 2 +- actix-utils/Cargo.toml | 2 +- 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/actix-codec/CHANGES.md b/actix-codec/CHANGES.md index 0a8bbb13..15c918fe 100644 --- a/actix-codec/CHANGES.md +++ b/actix-codec/CHANGES.md @@ -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`. diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml index b508ad29..ecc01f27 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-codec" -version = "0.3.0-beta.1" +version = "0.3.0-beta.2" authors = ["Nikolay Kim "] description = "Utilities for encoding and decoding frames" keywords = ["network", "framework", "async", "futures"] diff --git a/actix-codec/src/framed.rs b/actix-codec/src/framed.rs index cf840949..844f20d8 100644 --- a/actix-codec/src/framed.rs +++ b/actix-codec/src/framed.rs @@ -117,7 +117,7 @@ impl Framed { } /// Consume the `Frame`, returning `Frame` with different codec. - pub fn replace_codec(self, codec: U2) -> Framed { + pub fn replace_codec(self, codec: U2) -> Framed { Framed { codec, io: self.io, diff --git a/actix-connect/Cargo.toml b/actix-connect/Cargo.toml index 89ad67be..31a8ee23 100644 --- a/actix-connect/Cargo.toml +++ b/actix-connect/Cargo.toml @@ -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" diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml index 1d9dca0b..d13d030b 100644 --- a/actix-server/Cargo.toml +++ b/actix-server/Cargo.toml @@ -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" diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml index 34adad2c..2d1cf651 100644 --- a/actix-tls/Cargo.toml +++ b/actix-tls/Cargo.toml @@ -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" diff --git a/actix-utils/Cargo.toml b/actix-utils/Cargo.toml index 2a8d595e..7aa984fc 100644 --- a/actix-utils/Cargo.toml +++ b/actix-utils/Cargo.toml @@ -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"