Skip to content

Commit a98b5b6

Browse files
authored
Bump MSRV to 1.86 (#4191)
Bump MSRV to 1.86. Most changes are to fix indenting issues in doc comments that clippy caught. ---- _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 b598596 commit a98b5b6

File tree

17 files changed

+27
-27
lines changed

17 files changed

+27
-27
lines changed

.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.85.0
36+
rust_version: 1.86.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.85.0
13+
rust_version: 1.86.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.85.0
11+
rust_version: 1.86.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.85.0
13+
rust_version: 1.86.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.85.0
49+
toolchain: 1.86.0
5050
- name: Delete old SDK
5151
run: |
5252
- name: Generate a fresh SDK

aws/rust-runtime/Cargo.lock

Lines changed: 1 addition & 1 deletion
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: 2 additions & 2 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.1"
3+
version = "1.8.2"
44
authors = [
55
"AWS Rust SDK Team <aws-sdk-rust@amazon.com>",
66
"Russell Cohen <rcoh@amazon.com>",

aws/rust-runtime/aws-config/src/ecs.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
//! 2. The URL refers to an allowed IP address. If a URL contains a domain name instead of an IP address,
2424
//! a DNS lookup will be performed. ALL resolved IP addresses MUST refer to an allowed IP address, or
2525
//! the credentials provider will return `CredentialsError::InvalidConfiguration`. Valid IP addresses are:
26-
//! a) Loopback interfaces
27-
//! b) The [ECS Task Metadata V2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v2.html)
28-
//! address ie 169.254.170.2.
29-
//! c) [EKS Pod Identity](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html) addresses
30-
//! ie 169.254.170.23 or fd00:ec2::23
26+
//! a) Loopback interfaces
27+
//! b) The [ECS Task Metadata V2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v2.html)
28+
//! address ie 169.254.170.2.
29+
//! c) [EKS Pod Identity](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html) addresses
30+
//! ie 169.254.170.23 or fd00:ec2::23
3131
//!
3232
//! **Next**: It will check the value of `$AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE`. If this is set,
3333
//! the filename specified will be read, and the value passed in the `Authorization` header. If the file

aws/rust-runtime/aws-config/src/retry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub mod error {
5050
InvalidRetryMode { .. } => {
5151
write!(f, "invalid retry configuration")
5252
}
53-
MaxAttemptsMustNotBeZero { .. } => {
53+
MaxAttemptsMustNotBeZero => {
5454
write!(f, "invalid configuration: It is invalid to set max attempts to 0. Unset it or set it to an integer greater than or equal to one.")
5555
}
5656
FailedToParseMaxAttempts { .. } => {
@@ -66,7 +66,7 @@ pub mod error {
6666
match &self.kind {
6767
InvalidRetryMode { source, .. } => Some(source),
6868
FailedToParseMaxAttempts { source, .. } => Some(source),
69-
MaxAttemptsMustNotBeZero { .. } => None,
69+
MaxAttemptsMustNotBeZero => None,
7070
}
7171
}
7272
}

0 commit comments

Comments
 (0)