Skip to content

Commit

Permalink
Bumping MSRV to 1.76.0 (#3653)
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci authored May 20, 2024
2 parents f0ddc66 + ea7652f commit 181b48b
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
required: false

env:
rust_version: 1.75.0
rust_version: 1.76.0
rust_toolchain_components: clippy,rustfmt
ENCRYPTED_DOCKER_PASSWORD: ${{ secrets.ENCRYPTED_DOCKER_PASSWORD }}
DOCKER_LOGIN_TOKEN_PASSPHRASE: ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claim-crate-names.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

env:
rust_version: 1.75.0
rust_version: 1.76.0

name: Claim unpublished crate names on crates.io
run-name: ${{ github.workflow }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
name: Update GitHub Pages

env:
rust_version: 1.75.0
rust_version: 1.76.0

# Allow only one doc pages build to run at a time for the entire smithy-rs repo
concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

env:
rust_version: 1.75.0
rust_version: 1.76.0

name: Release smithy-rs
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-sdk-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
toolchain: 1.76.0
- name: Delete old SDK
run: |
- name: Generate a fresh SDK
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,15 @@ message = "Updating the documentation for the `app_name` method on `ConfigLoader
references = ["smithy-rs#3645"]
meta = { "breaking" = false, "bug" = false, "tada" = false }
author = "landonxjames"

[[aws-sdk-rust]]
message = "Update MSRV to `1.76.0`"
references = ["smithy-rs#3653"]
meta = { "breaking" = true, "tada" = true, "bug" = false }
author = "landonxjames"

[[smithy-rs]]
message = "Update MSRV to `1.76.0`"
references = ["smithy-rs#3653"]
meta = { "breaking" = true, "tada" = true, "bug" = false, "target" = "all" }
author = "landonxjames"
2 changes: 1 addition & 1 deletion aws/rust-runtime/aws-config/src/environment/credentials.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl EnvironmentVariableCredentialsProvider {
.get("AWS_SESSION_TOKEN")
.ok()
.and_then(|token| match token.trim() {
s if s.is_empty() => None,
"" => None,
s => Some(s.to_string()),
});
Ok(Credentials::new(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ object TestWorkspace {
// help rust select the right version when we run cargo test
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2048): load this from the msrv property using a
// method as we do for runtime crate versions
"[toolchain]\nchannel = \"1.75.0\"\n",
"[toolchain]\nchannel = \"1.76.0\"\n",
)
// ensure there at least an empty lib.rs file to avoid broken crates
newProject.resolve("src").mkdirs()
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#

# Rust MSRV (entered into the generated README)
rust.msrv=1.75.0
rust.msrv=1.76.0

# To enable debug, swap out the two lines below.
# When changing this value, be sure to run `./gradlew --stop` to kill the Gradle daemon.
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.75.0"
channel = "1.76.0"
2 changes: 1 addition & 1 deletion tools/ci-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# This is the base Docker build image used by CI

ARG base_image=public.ecr.aws/amazonlinux/amazonlinux:2023
ARG rust_stable_version=1.75.0
ARG rust_stable_version=1.76.0
ARG rust_nightly_version=nightly-2024-02-07

FROM ${base_image} AS bare_base_image
Expand Down

0 comments on commit 181b48b

Please sign in to comment.