Skip to content

Commit

Permalink
bump tokio-util to 0.7 (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Feb 15, 2022
1 parent d229c1e commit 217cbd2
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 10 deletions.
6 changes: 6 additions & 0 deletions actix-codec/CHANGES.md
Expand Up @@ -3,6 +3,12 @@
## Unreleased - 2021-xx-xx


## 0.5.0 - 2022-02-15
- Updated `tokio-util` dependency to `0.7.0`. [#446]

[#446]: https://github.com/actix/actix-net/pull/446


## 0.4.2 - 2021-12-31
- No significant changes since `0.4.1`.

Expand Down
6 changes: 3 additions & 3 deletions actix-codec/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "actix-codec"
version = "0.4.2"
version = "0.5.0"
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>",
Expand All @@ -17,15 +17,15 @@ name = "actix_codec"
path = "src/lib.rs"

[dependencies]
bitflags = "1.2.1"
bitflags = "1.2"
bytes = "1"
futures-core = { version = "0.3.7", default-features = false }
futures-sink = { version = "0.3.7", default-features = false }
log = "0.4"
memchr = "2.3"
pin-project-lite = "0.2"
tokio = "1.13.1"
tokio-util = { version = "0.6", features = ["codec", "io"] }
tokio-util = { version = "0.7", features = ["codec", "io"] }

[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
Expand Down
4 changes: 2 additions & 2 deletions actix-codec/src/lines.rs
Expand Up @@ -7,8 +7,8 @@ use super::{Decoder, Encoder};

/// Lines codec. Reads/writes line delimited strings.
///
/// Will split input up by LF or CRLF delimiters. I.e. carriage return characters at the end of
/// lines are not preserved.
/// Will split input up by LF or CRLF delimiters. Carriage return characters at the end of lines are
/// not preserved.
#[derive(Debug, Copy, Clone, Default)]
#[non_exhaustive]
pub struct LinesCodec;
Expand Down
2 changes: 1 addition & 1 deletion actix-server/Cargo.toml
Expand Up @@ -41,7 +41,7 @@ tokio = { version = "1.13.1", features = ["sync"] }
tokio-uring = { version = "0.2", optional = true }

[dev-dependencies]
actix-codec = "0.4.2"
actix-codec = "0.5.0"
actix-rt = "2.6.0"

bytes = "1"
Expand Down
4 changes: 4 additions & 0 deletions actix-tls/CHANGES.md
Expand Up @@ -3,6 +3,10 @@
## Unreleased - 2021-xx-xx


## 3.0.3 - 2022-02-15
- No significant changes since `3.0.2`.


## 3.0.2 - 2022-01-28
- Expose `connect::Connection::new`. [#439]

Expand Down
6 changes: 3 additions & 3 deletions actix-tls/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "actix-tls"
version = "3.0.2"
version = "3.0.3"
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>",
Expand Down Expand Up @@ -42,15 +42,15 @@ native-tls = ["tokio-native-tls"]
uri = ["http"]

[dependencies]
actix-codec = "0.4.2"
actix-codec = "0.5.0"
actix-rt = { version = "2.2.0", default-features = false }
actix-service = "2.0.0"
actix-utils = "3.0.0"

futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
log = "0.4"
pin-project-lite = "0.2.7"
tokio-util = { version = "0.6.3", default-features = false }
tokio-util = "0.7"

# uri
http = { version = "0.2.3", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion actix-tls/src/connect/tcp.rs
Expand Up @@ -79,7 +79,7 @@ pub enum TcpConnectorFut<R> {
port: u16,
local_addr: Option<IpAddr>,
addrs: Option<VecDeque<SocketAddr>>,
stream: ReusableBoxFuture<Result<TcpStream, io::Error>>,
stream: ReusableBoxFuture<'static, Result<TcpStream, io::Error>>,
},

Error(Option<ConnectError>),
Expand Down

0 comments on commit 217cbd2

Please sign in to comment.