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

bump tokio-util to 0.7 (#446)

This commit is contained in:
Rob Ede 2022-02-15 01:47:27 +00:00 committed by GitHub
parent d229c1e886
commit 217cbd2228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 20 additions and 10 deletions

View File

@ -3,6 +3,12 @@
## Unreleased - 2021-xx-xx ## 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 ## 0.4.2 - 2021-12-31
- No significant changes since `0.4.1`. - No significant changes since `0.4.1`.

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-codec" name = "actix-codec"
version = "0.4.2" version = "0.5.0"
authors = [ authors = [
"Nikolay Kim <fafhrd91@gmail.com>", "Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>", "Rob Ede <robjtede@icloud.com>",
@ -17,7 +17,7 @@ name = "actix_codec"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]
bitflags = "1.2.1" bitflags = "1.2"
bytes = "1" bytes = "1"
futures-core = { version = "0.3.7", default-features = false } futures-core = { version = "0.3.7", default-features = false }
futures-sink = { version = "0.3.7", default-features = false } futures-sink = { version = "0.3.7", default-features = false }
@ -25,7 +25,7 @@ log = "0.4"
memchr = "2.3" memchr = "2.3"
pin-project-lite = "0.2" pin-project-lite = "0.2"
tokio = "1.13.1" tokio = "1.13.1"
tokio-util = { version = "0.6", features = ["codec", "io"] } tokio-util = { version = "0.7", features = ["codec", "io"] }
[dev-dependencies] [dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] } criterion = { version = "0.3", features = ["html_reports"] }

View File

@ -7,8 +7,8 @@ use super::{Decoder, Encoder};
/// Lines codec. Reads/writes line delimited strings. /// 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 /// Will split input up by LF or CRLF delimiters. Carriage return characters at the end of lines are
/// lines are not preserved. /// not preserved.
#[derive(Debug, Copy, Clone, Default)] #[derive(Debug, Copy, Clone, Default)]
#[non_exhaustive] #[non_exhaustive]
pub struct LinesCodec; pub struct LinesCodec;

View File

@ -41,7 +41,7 @@ tokio = { version = "1.13.1", features = ["sync"] }
tokio-uring = { version = "0.2", optional = true } tokio-uring = { version = "0.2", optional = true }
[dev-dependencies] [dev-dependencies]
actix-codec = "0.4.2" actix-codec = "0.5.0"
actix-rt = "2.6.0" actix-rt = "2.6.0"
bytes = "1" bytes = "1"

View File

@ -3,6 +3,10 @@
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
## 3.0.3 - 2022-02-15
- No significant changes since `3.0.2`.
## 3.0.2 - 2022-01-28 ## 3.0.2 - 2022-01-28
- Expose `connect::Connection::new`. [#439] - Expose `connect::Connection::new`. [#439]

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-tls" name = "actix-tls"
version = "3.0.2" version = "3.0.3"
authors = [ authors = [
"Nikolay Kim <fafhrd91@gmail.com>", "Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>", "Rob Ede <robjtede@icloud.com>",
@ -42,7 +42,7 @@ native-tls = ["tokio-native-tls"]
uri = ["http"] uri = ["http"]
[dependencies] [dependencies]
actix-codec = "0.4.2" actix-codec = "0.5.0"
actix-rt = { version = "2.2.0", default-features = false } actix-rt = { version = "2.2.0", default-features = false }
actix-service = "2.0.0" actix-service = "2.0.0"
actix-utils = "3.0.0" actix-utils = "3.0.0"
@ -50,7 +50,7 @@ actix-utils = "3.0.0"
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] } futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
log = "0.4" log = "0.4"
pin-project-lite = "0.2.7" pin-project-lite = "0.2.7"
tokio-util = { version = "0.6.3", default-features = false } tokio-util = "0.7"
# uri # uri
http = { version = "0.2.3", optional = true } http = { version = "0.2.3", optional = true }

View File

@ -79,7 +79,7 @@ pub enum TcpConnectorFut<R> {
port: u16, port: u16,
local_addr: Option<IpAddr>, local_addr: Option<IpAddr>,
addrs: Option<VecDeque<SocketAddr>>, addrs: Option<VecDeque<SocketAddr>>,
stream: ReusableBoxFuture<Result<TcpStream, io::Error>>, stream: ReusableBoxFuture<'static, Result<TcpStream, io::Error>>,
}, },
Error(Option<ConnectError>), Error(Option<ConnectError>),