Skip to content

Commit 217cbd2

Browse files
authored
bump tokio-util to 0.7 (#446)
1 parent d229c1e commit 217cbd2

File tree

7 files changed

+20
-10
lines changed

7 files changed

+20
-10
lines changed

actix-codec/CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
## Unreleased - 2021-xx-xx
44

55

6+
## 0.5.0 - 2022-02-15
7+
- Updated `tokio-util` dependency to `0.7.0`. [#446]
8+
9+
[#446]: https://github.com/actix/actix-net/pull/446
10+
11+
612
## 0.4.2 - 2021-12-31
713
- No significant changes since `0.4.1`.
814

actix-codec/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "actix-codec"
3-
version = "0.4.2"
3+
version = "0.5.0"
44
authors = [
55
"Nikolay Kim <[email protected]>",
66
"Rob Ede <[email protected]>",
@@ -17,15 +17,15 @@ name = "actix_codec"
1717
path = "src/lib.rs"
1818

1919
[dependencies]
20-
bitflags = "1.2.1"
20+
bitflags = "1.2"
2121
bytes = "1"
2222
futures-core = { version = "0.3.7", default-features = false }
2323
futures-sink = { version = "0.3.7", default-features = false }
2424
log = "0.4"
2525
memchr = "2.3"
2626
pin-project-lite = "0.2"
2727
tokio = "1.13.1"
28-
tokio-util = { version = "0.6", features = ["codec", "io"] }
28+
tokio-util = { version = "0.7", features = ["codec", "io"] }
2929

3030
[dev-dependencies]
3131
criterion = { version = "0.3", features = ["html_reports"] }

actix-codec/src/lines.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use super::{Decoder, Encoder};
77

88
/// Lines codec. Reads/writes line delimited strings.
99
///
10-
/// Will split input up by LF or CRLF delimiters. I.e. carriage return characters at the end of
11-
/// lines are not preserved.
10+
/// Will split input up by LF or CRLF delimiters. Carriage return characters at the end of lines are
11+
/// not preserved.
1212
#[derive(Debug, Copy, Clone, Default)]
1313
#[non_exhaustive]
1414
pub struct LinesCodec;

actix-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tokio = { version = "1.13.1", features = ["sync"] }
4141
tokio-uring = { version = "0.2", optional = true }
4242

4343
[dev-dependencies]
44-
actix-codec = "0.4.2"
44+
actix-codec = "0.5.0"
4545
actix-rt = "2.6.0"
4646

4747
bytes = "1"

actix-tls/CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
## Unreleased - 2021-xx-xx
44

55

6+
## 3.0.3 - 2022-02-15
7+
- No significant changes since `3.0.2`.
8+
9+
610
## 3.0.2 - 2022-01-28
711
- Expose `connect::Connection::new`. [#439]
812

actix-tls/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "actix-tls"
3-
version = "3.0.2"
3+
version = "3.0.3"
44
authors = [
55
"Nikolay Kim <[email protected]>",
66
"Rob Ede <[email protected]>",
@@ -42,15 +42,15 @@ native-tls = ["tokio-native-tls"]
4242
uri = ["http"]
4343

4444
[dependencies]
45-
actix-codec = "0.4.2"
45+
actix-codec = "0.5.0"
4646
actix-rt = { version = "2.2.0", default-features = false }
4747
actix-service = "2.0.0"
4848
actix-utils = "3.0.0"
4949

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

5555
# uri
5656
http = { version = "0.2.3", optional = true }

actix-tls/src/connect/tcp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub enum TcpConnectorFut<R> {
7979
port: u16,
8080
local_addr: Option<IpAddr>,
8181
addrs: Option<VecDeque<SocketAddr>>,
82-
stream: ReusableBoxFuture<Result<TcpStream, io::Error>>,
82+
stream: ReusableBoxFuture<'static, Result<TcpStream, io::Error>>,
8383
},
8484

8585
Error(Option<ConnectError>),

0 commit comments

Comments
 (0)