From 6382a85137b033019c78f963b77d1b75399b7f34 Mon Sep 17 00:00:00 2001 From: David Calavera Date: Thu, 13 Jun 2024 21:05:48 -0700 Subject: [PATCH] Release new patch versions for 0.11 (#893) * Release new patch versions for 0.11 Signed-off-by: David Calavera * Fix clippy errors from Rust 1.79.0 Signed-off-by: David Calavera --------- Signed-off-by: David Calavera --- lambda-http/Cargo.toml | 4 ++-- lambda-runtime-api-client/src/body/channel.rs | 4 ++-- lambda-runtime/Cargo.toml | 7 ++----- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/lambda-http/Cargo.toml b/lambda-http/Cargo.toml index 9bd5923e..28b0f7e0 100644 --- a/lambda-http/Cargo.toml +++ b/lambda-http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lambda_http" -version = "0.11.3" +version = "0.11.4" authors = [ "David Calavera ", "Harold Sun ", @@ -34,7 +34,7 @@ http = { workspace = true } http-body = { workspace = true } http-body-util = { workspace = true } hyper = { workspace = true } -lambda_runtime = { version = "0.11.2", path = "../lambda-runtime" } +lambda_runtime = { version = "0.11.3", path = "../lambda-runtime" } mime = "0.3" percent-encoding = "2.2" pin-project-lite = { workspace = true } diff --git a/lambda-runtime-api-client/src/body/channel.rs b/lambda-runtime-api-client/src/body/channel.rs index 815de5f2..f5fcb77b 100644 --- a/lambda-runtime-api-client/src/body/channel.rs +++ b/lambda-runtime-api-client/src/body/channel.rs @@ -20,8 +20,8 @@ pub use sender::Sender; pub(crate) struct DecodedLength(u64); impl DecodedLength { - pub(crate) const CLOSE_DELIMITED: DecodedLength = DecodedLength(::std::u64::MAX); - pub(crate) const CHUNKED: DecodedLength = DecodedLength(::std::u64::MAX - 1); + pub(crate) const CLOSE_DELIMITED: DecodedLength = DecodedLength(u64::MAX); + pub(crate) const CHUNKED: DecodedLength = DecodedLength(u64::MAX - 1); pub(crate) const ZERO: DecodedLength = DecodedLength(0); pub(crate) fn sub_if(&mut self, amt: u64) { diff --git a/lambda-runtime/Cargo.toml b/lambda-runtime/Cargo.toml index 1883a18d..652381eb 100644 --- a/lambda-runtime/Cargo.toml +++ b/lambda-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lambda_runtime" -version = "0.11.2" +version = "0.11.3" authors = [ "David Calavera ", "Harold Sun ", @@ -26,10 +26,7 @@ http = { workspace = true } http-body = { workspace = true } http-body-util = { workspace = true } http-serde = { workspace = true } -hyper = { workspace = true, features = [ - "http1", - "client", -] } +hyper = { workspace = true, features = ["http1", "client"] } hyper-util = { workspace = true, features = [ "client", "client-legacy",