Skip to content

Commit 8490f68

Browse files
authored
Bump MSRV to 1.88.0 (#4367)
## Motivation and Context Bumps MSRV to 1.88.0 ## Description Although the number of files changed is large, the changes themselves are straightforward. During MSRV upgrade to 1.88.0, one of the clippy warnings enforced is `clippy::uninlined_format_args`, i.e. suggesting to update ``` format!("{}", a); ``` to ``` format!("{a}"); ``` The PR swept through the codebase and updated almost all the occurrences, except for: - codegen-client (suppressed the following) - [RequestBindingGenerator](https://github.com/smithy-lang/smithy-rs/pull/4367/files#diff-fea7e7ebc2f668be75ee8e15dd463bd38064b416eea4c0d272e17ce52e2e7598R138-R142) - [‎EndpointTraitBindingGenerator](https://github.com/smithy-lang/smithy-rs/pull/4367/files#diff-bf24c9ba358f747e62b6603c3ddfae91340a9971c41b268a148f705dfface9deR92-R96) - codegen-server - #4366 ## Testing - CI ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] For changes to the smithy-rs codegen or runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "client," "server," or both in the `applies_to` key. - [x] For changes to the AWS SDK, generated SDK code, or SDK runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "aws-sdk-rust" in the `applies_to` key. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
1 parent 3324dd5 commit 8490f68

File tree

171 files changed

+456
-537
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+456
-537
lines changed

.changelog/1761582203.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
applies_to:
3+
- aws-sdk-rust
4+
- client
5+
- server
6+
authors:
7+
- ysaito1001
8+
references:
9+
- smithy-rs#4367
10+
breaking: true
11+
new_feature: false
12+
bug_fix: false
13+
---
14+
Upgrade MSRV to Rust 1.88.0.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on:
3333
required: false
3434

3535
env:
36-
rust_version: 1.86.0
36+
rust_version: 1.88.0
3737
rust_toolchain_components: clippy,rustfmt
3838
ENCRYPTED_DOCKER_PASSWORD: ${{ secrets.ENCRYPTED_DOCKER_PASSWORD }}
3939
DOCKER_LOGIN_TOKEN_PASSPHRASE: ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}

.github/workflows/claim-crate-names.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
rust_version: 1.86.0
13+
rust_version: 1.88.0
1414

1515
name: Claim unpublished crate names on crates.io
1616
run-name: ${{ github.workflow }}

.github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
name: Update GitHub Pages
99

1010
env:
11-
rust_version: 1.86.0
11+
rust_version: 1.88.0
1212

1313
# Allow only one doc pages build to run at a time for the entire smithy-rs repo
1414
concurrency:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
rust_version: 1.86.0
13+
rust_version: 1.88.0
1414

1515
name: Release smithy-rs
1616
on:

.github/workflows/update-sdk-next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set up Rust
4747
uses: dtolnay/rust-toolchain@master
4848
with:
49-
toolchain: 1.86.0
49+
toolchain: 1.88.0
5050
- name: Delete old SDK
5151
run: |
5252
- name: Generate a fresh SDK

aws/codegen-aws-sdk/src/main/kotlin/software/amazon/smithy/rustsdk/AwsFluentClientDecorator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ private class AwsFluentClientRetryPartition(private val codegenContext: ClientCo
186186
rustTemplate(
187187
"""
188188
let default_retry_partition = match config.region() {
189-
Some(region) => #{Cow}::from(format!("{default_retry_partition}-{}", region)),
189+
Some(region) => #{Cow}::from(format!("{default_retry_partition}-{region}")),
190190
None => #{Cow}::from(default_retry_partition),
191191
};
192192
""",

aws/rust-runtime/Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws/rust-runtime/aws-config/Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws/rust-runtime/aws-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-config"
3-
version = "1.8.9"
3+
version = "1.8.10"
44
authors = [
55
"AWS Rust SDK Team <[email protected]>",
66
"Russell Cohen <[email protected]>",

0 commit comments

Comments
 (0)