Skip to content

Commit 17ca4f2

Browse files
jdisantircoh
authored andcommitted
Upgrade MSRV to Rust 1.67.1 (#2611)
_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 08642d1 commit 17ca4f2

File tree

20 files changed

+35
-21
lines changed

20 files changed

+35
-21
lines changed

.github/workflows/ci-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ jobs:
111111
semver-checks:
112112
name: check the semver status of this PR
113113
runs-on: smithy_ubuntu-latest_8-core
114+
needs:
115+
- save-docker-login-token
116+
- acquire-base-image
114117
steps:
115118
- uses: actions/checkout@v3
116119
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
required: false
3030

3131
env:
32-
rust_version: 1.66.1
32+
rust_version: 1.67.1
3333
rust_toolchain_components: clippy,rustfmt
3434
ENCRYPTED_DOCKER_PASSWORD: ${{ secrets.ENCRYPTED_DOCKER_PASSWORD }}
3535
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.66.1
13+
rust_version: 1.67.1
1414

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

.github/workflows/pull-request-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
env:
3030
java_version: 11
31-
rust_version: 1.66.1
31+
rust_version: 1.67.1
3232
rust_toolchain_components: clippy,rustfmt
3333
apt_dependencies: libssl-dev gnuplot jq
3434

.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.66.1
13+
rust_version: 1.67.1
1414

1515
name: Release smithy-rs
1616
run-name: ${{ github.workflow }} ${{ inputs.semantic_version }} (${{ inputs.commit_sha }}) - ${{ inputs.dry_run && 'Dry run' || 'Production run' }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Rust
3333
uses: dtolnay/rust-toolchain@master
3434
with:
35-
toolchain: 1.66.1
35+
toolchain: 1.67.1
3636
- name: Delete old SDK
3737
run: |
3838
- name: Generate a fresh SDK

CHANGELOG.next.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,15 @@ message = "Add a sensitive method to `ParseHttpResponse`. When this returns true
144144
author = "rcoh"
145145
references = ["smithy-rs#2603"]
146146
meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" }
147+
148+
[[aws-sdk-rust]]
149+
message = "Update MSRV to Rust 1.67.1"
150+
references = ["smithy-rs#2611"]
151+
meta = { "breaking" = true, "tada" = false, "bug" = false }
152+
author = "jdisanti"
153+
154+
[[smithy-rs]]
155+
message = "Update MSRV to Rust 1.67.1"
156+
references = ["smithy-rs#2611"]
157+
meta = { "breaking" = true, "tada" = false, "bug" = false, "target" = "all"}
158+
author = "jdisanti"

aws/rust-runtime/aws-config/src/profile/parser/normalize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub(super) fn merge_in(
113113
}
114114
}
115115

116-
fn merge_into_base<'a>(target: &mut Profile, profile: HashMap<&str, Cow<'a, str>>) {
116+
fn merge_into_base(target: &mut Profile, profile: HashMap<&str, Cow<'_, str>>) {
117117
for (k, v) in profile {
118118
match validate_identifier(k) {
119119
Ok(k) => {

aws/sdk/integration-tests/dynamodb/tests/endpoints.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use aws_sdk_dynamodb::config::{self, Credentials, Region};
77
use aws_types::SdkConfig;
88
use http::Uri;
99

10-
#[track_caller]
1110
async fn expect_uri(
1211
conf: SdkConfig,
1312
uri: &'static str,

codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/testutil/Rust.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ object TestWorkspace {
109109
// help rust select the right version when we run cargo test
110110
// TODO(https://github.com/awslabs/smithy-rs/issues/2048): load this from the msrv property using a
111111
// method as we do for runtime crate versions
112-
"[toolchain]\nchannel = \"1.66.1\"\n",
112+
"[toolchain]\nchannel = \"1.67.1\"\n",
113113
)
114114
// ensure there at least an empty lib.rs file to avoid broken crates
115115
newProject.resolve("src").mkdirs()

0 commit comments

Comments
 (0)