From 5c6971c0d631541ec03d19f391a85bdb0267a959 Mon Sep 17 00:00:00 2001 From: Astraea Sinclair Date: Wed, 8 Oct 2025 10:05:15 +0000 Subject: [PATCH 1/5] Update Dependencies Signed-off-by: Astraea Sinclair --- Cargo.toml | 2 ++ README.md | 2 +- lambda-events/Cargo.toml | 2 +- lambda-extension/Cargo.toml | 2 +- lambda-http/Cargo.toml | 2 +- lambda-integration-tests/Cargo.toml | 2 +- lambda-runtime-api-client/Cargo.toml | 2 +- lambda-runtime/Cargo.toml | 2 +- 8 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 867e9c0db..7baf97c2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,3 +32,5 @@ pin-project-lite = "0.2" tower = "0.5" tower-layer = "0.3" tower-service = "0.3" + + diff --git a/README.md b/README.md index fdec26a5e..954b195c1 100644 --- a/README.md +++ b/README.md @@ -485,7 +485,7 @@ fn main() -> Result<(), Box> { ## Supported Rust Versions (MSRV) -The AWS Lambda Rust Runtime requires a minimum of Rust 1.81.0, and is not guaranteed to build on compiler versions earlier than that. +The AWS Lambda Rust Runtime requires a minimum of Rust 1.82.0, and is not guaranteed to build on compiler versions earlier than that. ## Security diff --git a/lambda-events/Cargo.toml b/lambda-events/Cargo.toml index 2cd8c9696..c21e959b4 100644 --- a/lambda-events/Cargo.toml +++ b/lambda-events/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "aws_lambda_events" version = "0.18.0" -rust-version = "1.81.0" +rust-version = "1.82.0" description = "AWS Lambda event definitions" authors = [ "Christian Legnitto ", diff --git a/lambda-extension/Cargo.toml b/lambda-extension/Cargo.toml index 515a97fe9..427b744a1 100644 --- a/lambda-extension/Cargo.toml +++ b/lambda-extension/Cargo.toml @@ -2,7 +2,7 @@ name = "lambda-extension" version = "0.12.2" edition = "2021" -rust-version = "1.81.0" +rust-version = "1.82.0" authors = [ "David Calavera ", "Harold Sun ", diff --git a/lambda-http/Cargo.toml b/lambda-http/Cargo.toml index 4c279e80e..0014346e9 100644 --- a/lambda-http/Cargo.toml +++ b/lambda-http/Cargo.toml @@ -6,7 +6,7 @@ authors = [ "Harold Sun ", ] edition = "2021" -rust-version = "1.81.0" +rust-version = "1.82.0" description = "Application Load Balancer and API Gateway event types for AWS Lambda" keywords = ["AWS", "Lambda", "APIGateway", "ALB", "API"] license = "Apache-2.0" diff --git a/lambda-integration-tests/Cargo.toml b/lambda-integration-tests/Cargo.toml index 85d5fca6e..2e9817c2b 100644 --- a/lambda-integration-tests/Cargo.toml +++ b/lambda-integration-tests/Cargo.toml @@ -3,7 +3,7 @@ name = "lambda-integration-tests" version = "0.1.0" authors = ["Maxime David"] edition = "2021" -rust-version = "1.81.0" +rust-version = "1.82.0" description = "AWS Lambda Runtime integration tests" license = "Apache-2.0" repository = "https://github.com/awslabs/aws-lambda-rust-runtime" diff --git a/lambda-runtime-api-client/Cargo.toml b/lambda-runtime-api-client/Cargo.toml index ba8f0fa0f..39311a8c1 100644 --- a/lambda-runtime-api-client/Cargo.toml +++ b/lambda-runtime-api-client/Cargo.toml @@ -2,7 +2,7 @@ name = "lambda_runtime_api_client" version = "0.12.4" edition = "2021" -rust-version = "1.81.0" +rust-version = "1.82.0" authors = [ "David Calavera ", "Harold Sun ", diff --git a/lambda-runtime/Cargo.toml b/lambda-runtime/Cargo.toml index 30f0bfa9a..9e4b714de 100644 --- a/lambda-runtime/Cargo.toml +++ b/lambda-runtime/Cargo.toml @@ -7,7 +7,7 @@ authors = [ ] description = "AWS Lambda Runtime" edition = "2021" -rust-version = "1.81.0" +rust-version = "1.82.0" license = "Apache-2.0" repository = "https://github.com/awslabs/aws-lambda-rust-runtime" categories = ["web-programming::http-server"] From d3f17aab07fd65f3d2e827fd915c5a5fba97f27f Mon Sep 17 00:00:00 2001 From: Astraea Sinclair Date: Wed, 8 Oct 2025 10:14:46 +0000 Subject: [PATCH 2/5] Update workflows --- .github/workflows/build-events.yml | 2 +- .github/workflows/build-extension.yml | 2 +- .github/workflows/build-integration-test.yml | 2 +- .github/workflows/build-runtime.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-events.yml b/.github/workflows/build-events.yml index 372375b59..624f96d64 100644 --- a/.github/workflows/build-events.yml +++ b/.github/workflows/build-events.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: toolchain: - - "1.81.0" # Current MSRV + - "1.82.0" # Current MSRV - stable env: RUST_BACKTRACE: 1 diff --git a/.github/workflows/build-extension.yml b/.github/workflows/build-extension.yml index 2daaa40db..f823dbb40 100644 --- a/.github/workflows/build-extension.yml +++ b/.github/workflows/build-extension.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: toolchain: - - "1.81.0" # Current MSRV + - "1.82.0" # Current MSRV - stable env: RUST_BACKTRACE: 1 diff --git a/.github/workflows/build-integration-test.yml b/.github/workflows/build-integration-test.yml index c0d43e25c..dd9bd68fa 100644 --- a/.github/workflows/build-integration-test.yml +++ b/.github/workflows/build-integration-test.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: toolchain: - - "1.81.0" # Current MSRV + - "1.82.0" # Current MSRV - stable env: RUST_BACKTRACE: 1 diff --git a/.github/workflows/build-runtime.yml b/.github/workflows/build-runtime.yml index c5cf2d089..0327bd34e 100644 --- a/.github/workflows/build-runtime.yml +++ b/.github/workflows/build-runtime.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: toolchain: - - "1.81.0" # Current MSRV + - "1.82.0" # Current MSRV - stable env: RUST_BACKTRACE: 1 From 1839cf5e23f4b4c965bde0e64a13e50bc6eb5db2 Mon Sep 17 00:00:00 2001 From: Astraea Sinclair Date: Wed, 8 Oct 2025 11:06:19 +0000 Subject: [PATCH 3/5] Update dependencies --- lambda-http/Cargo.toml | 4 ++-- lambda-runtime/Cargo.toml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lambda-http/Cargo.toml b/lambda-http/Cargo.toml index 0014346e9..f5f3dfe18 100644 --- a/lambda-http/Cargo.toml +++ b/lambda-http/Cargo.toml @@ -55,8 +55,8 @@ default-features = false features = ["alb", "apigw"] [dev-dependencies] -axum-core = "0.5.0" -axum-extra = { version = "0.10.0", features = ["query"] } +axum-core = "0.5.4" +axum-extra = { version = "0.10.2", features = ["query"] } lambda_runtime_api_client = { version = "0.12.3", path = "../lambda-runtime-api-client" } log = "^0.4" maplit = "1.0" diff --git a/lambda-runtime/Cargo.toml b/lambda-runtime/Cargo.toml index 9e4b714de..f8192e5cd 100644 --- a/lambda-runtime/Cargo.toml +++ b/lambda-runtime/Cargo.toml @@ -40,7 +40,7 @@ hyper = { workspace = true, features = ["http1", "client"] } lambda-extension = { version = "0.12.2", path = "../lambda-extension", default-features = false, optional = true } lambda_runtime_api_client = { version = "0.12.3", path = "../lambda-runtime-api-client", default-features = false } miette = { version = "7.2.0", optional = true } -opentelemetry-semantic-conventions = { version = "0.29", optional = true, features = ["semconv_experimental"] } +opentelemetry-semantic-conventions = { version = "0.31", optional = true, features = ["semconv_experimental"] } pin-project = "1" serde = { version = "1", features = ["derive", "rc"] } serde_json = "^1" @@ -56,7 +56,7 @@ tower = { workspace = true, features = ["util"] } tracing = { version = "0.1", features = ["log"] } [dev-dependencies] -httpmock = "0.7.0" +httpmock = "0.8.1" hyper-util = { workspace = true, features = [ "client", "client-legacy", @@ -74,4 +74,4 @@ pin-project-lite = { workspace = true } tracing-appender = "0.2" [package.metadata.docs.rs] -all-features = true \ No newline at end of file +all-features = true From ad3db076bfc98645671cebbec2c92d3c23f9d9db Mon Sep 17 00:00:00 2001 From: Astraea Sinclair Date: Wed, 8 Oct 2025 11:19:15 +0000 Subject: [PATCH 4/5] Try using stable toolchain for docs --- .github/workflows/check-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index 4e26c31c1..dbc339053 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -29,11 +29,11 @@ jobs: RUST_BACKTRACE: 1 steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly + - uses: dtolnay/rust-toolchain@stable - name: Check documentation shell: bash env: RUSTFLAGS: --cfg docsrs - RUSTDOCFLAGS: --cfg docsrs -Dwarnings + RUSTDOCFLAGS: --cfg docsrs --cfg doc_cfg -Dwarnings run: cargo doc --no-deps --document-private-items --all-features From 5495354b3310adaaaacd8835e1e7559555ce3623 Mon Sep 17 00:00:00 2001 From: Astraea Sinclair Date: Wed, 8 Oct 2025 11:22:19 +0000 Subject: [PATCH 5/5] Revert "Try using stable toolchain for docs" This reverts commit ad3db076bfc98645671cebbec2c92d3c23f9d9db. --- .github/workflows/check-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index dbc339053..4e26c31c1 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -29,11 +29,11 @@ jobs: RUST_BACKTRACE: 1 steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@nightly - name: Check documentation shell: bash env: RUSTFLAGS: --cfg docsrs - RUSTDOCFLAGS: --cfg docsrs --cfg doc_cfg -Dwarnings + RUSTDOCFLAGS: --cfg docsrs -Dwarnings run: cargo doc --no-deps --document-private-items --all-features