Skip to content

Commit de18667

Browse files
NugineZelda Hesslerjdisanti
authored
Bump Rust MSRV to 1.63.0 (#2222)
Co-authored-by: Zelda Hessler <[email protected]> Co-authored-by: John DiSanti <[email protected]>
1 parent 13b10d5 commit de18667

File tree

53 files changed

+126
-60
lines changed

Some content is hidden

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

53 files changed

+126
-60
lines changed

.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.62.1
32+
rust_version: 1.63.0
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.62.1
13+
rust_version: 1.63.0
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.62.1
31+
rust_version: 1.63.0
3232
rust_toolchain_components: clippy,rustfmt
3333
apt_dependencies: libssl-dev gnuplot jq
3434

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
rust_version: 1.62.1
13+
rust_version: 1.63.0
1414

1515
name: Release smithy-rs
1616
run-name: ${{ github.workflow }} ${{ inputs.semantic_version }} (${{ inputs.commit_sha }}) - ${{ inputs.dry_run && 'Dry run' || 'Production run' }}
1717
on:
1818
workflow_dispatch:
1919
inputs:
2020
commit_sha:
21-
description: |
22-
The SHA of the git commit that you want to release.
21+
description: |
22+
The SHA of the git commit that you want to release.
2323
You must use the non-abbreviated SHA (e.g. b2318b0 won't work!).
2424
required: true
2525
type: string
@@ -75,8 +75,8 @@ jobs:
7575
# We need `always` here otherwise this job won't run if the previous job has been skipped
7676
# See https://samanpavel.medium.com/github-actions-conditional-job-execution-e6aa363d2867
7777
if: |
78-
always() &&
79-
needs.acquire-base-image.result == 'success' &&
78+
always() &&
79+
needs.acquire-base-image.result == 'success' &&
8080
(needs.release-ci.result == 'success' || needs.release-ci.result == 'skipped')
8181
runs-on: ubuntu-latest
8282
outputs:
@@ -234,7 +234,7 @@ jobs:
234234
shell: bash
235235
run: |
236236
set -eux
237-
237+
238238
# This will fail if other commits have been pushed to `main` after `commit_sha`
239239
# In particular, this will ALWAYS fail if you are creating a new release series from
240240
# a commit that is not the current tip of `main`.

.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.62.1
35+
toolchain: 1.63.0
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
@@ -10,3 +10,15 @@
1010
# references = ["smithy-rs#920"]
1111
# meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"}
1212
# author = "rcoh"
13+
14+
[[aws-sdk-rust]]
15+
message = "Upgrade Rust MSRV to 1.63.0"
16+
references = ["smithy-rs#2222"]
17+
meta = { "breaking" = true, "tada" = true, "bug" = false }
18+
author = "Nugine"
19+
20+
[[smithy-rs]]
21+
message = "Upgrade Rust MSRV to 1.63.0"
22+
references = ["smithy-rs#2222"]
23+
meta = { "breaking" = true, "tada" = true, "bug" = false, "target" = "all" }
24+
author = "Nugine"

aws/rust-runtime/aws-config/src/imds/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ pub(crate) mod test {
917917
imds_request("http://169.254.169.254/latest/metadata", TOKEN_A),
918918
http::Response::builder()
919919
.status(200)
920-
.body(SdkBody::from(vec![0xA0 as u8, 0xA1 as u8]))
920+
.body(SdkBody::from(vec![0xA0, 0xA1]))
921921
.unwrap(),
922922
),
923923
]);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
#![allow(clippy::derive_partial_eq_without_eq)]
67
#![warn(
78
missing_debug_implementations,
89
missing_docs,

aws/rust-runtime/aws-credential-types/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
//! * An opaque struct representing credentials
99
//! * Concrete implementations of credentials caching
1010
11+
#![allow(clippy::derive_partial_eq_without_eq)]
1112
#![warn(
1213
missing_debug_implementations,
1314
missing_docs,

aws/rust-runtime/aws-endpoint/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
#![allow(clippy::derive_partial_eq_without_eq)]
7+
68
use std::collections::HashMap;
79
use std::error::Error;
810
use std::fmt;
@@ -270,7 +272,7 @@ mod test {
270272
let mut req = operation::Request::new(req);
271273
{
272274
let mut props = req.properties_mut();
273-
props.insert(region.clone());
275+
props.insert(region);
274276
props.insert(SigningService::from_static("qldb"));
275277
props.insert(endpoint);
276278
};

0 commit comments

Comments
 (0)