Skip to content

Commit 89881ab

Browse files
landonxjamesdrganjooFahad Zubairaws-sdk-rust-ciysaito1001
authored
Bump MSRV to 1.81.0 (#3936)
## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here --> ## Description <!--- Describe your changes in detail --> ## Testing <!--- Please describe in detail how you tested your changes --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [ ] 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. - [ ] 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._ --------- Co-authored-by: Fahad Zubair <[email protected]> Co-authored-by: Fahad Zubair <[email protected]> Co-authored-by: AWS SDK Rust Bot <[email protected]> Co-authored-by: ysaito1001 <[email protected]> Co-authored-by: Ben Schofield <[email protected]>
1 parent 41d648d commit 89881ab

File tree

28 files changed

+75
-58
lines changed

28 files changed

+75
-58
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ on:
3838
required: false
3939

4040
env:
41-
rust_version: 1.78.0
41+
rust_version: 1.81.0
4242
rust_toolchain_components: clippy,rustfmt
4343
ENCRYPTED_DOCKER_PASSWORD: ${{ secrets.ENCRYPTED_DOCKER_PASSWORD }}
4444
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.78.0
13+
rust_version: 1.81.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.78.0
11+
rust_version: 1.81.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.78.0
13+
rust_version: 1.81.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
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Rust
4646
uses: dtolnay/rust-toolchain@master
4747
with:
48-
toolchain: 1.78.0
48+
toolchain: 1.81.0
4949
- name: Delete old SDK
5050
run: |
5151
- name: Generate a fresh SDK

aws/rust-runtime/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.lock

Lines changed: 4 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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-config"
3-
version = "1.5.10"
3+
version = "1.5.11"
44
authors = [
55
"AWS Rust SDK Team <[email protected]>",
66
"Russell Cohen <[email protected]>",
@@ -19,6 +19,7 @@ default = ["client-hyper", "rustls", "rt-tokio", "credentials-process", "sso"]
1919
rt-tokio = ["aws-smithy-async/rt-tokio", "aws-smithy-runtime/rt-tokio", "tokio/rt"]
2020
rustls = ["aws-smithy-runtime/tls-rustls", "client-hyper"]
2121
sso = ["dep:aws-sdk-sso", "dep:aws-sdk-ssooidc", "dep:ring", "dep:hex", "dep:zeroize", "aws-smithy-runtime-api/http-auth"]
22+
test-util = ["aws-runtime/test-util"]
2223

2324
# deprecated: this feature does nothing
2425
allow-compilation = []

aws/rust-runtime/aws-config/src/default_provider/credentials.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ mod test {
316316
#[cfg(all(feature = "sso", not(windows)))]
317317
make_test!(sso_no_token_file);
318318

319-
#[cfg(feature = "credentials-sso")]
319+
#[cfg(feature = "sso")]
320320
make_test!(e2e_fips_and_dual_stack_sso);
321321

322322
#[tokio::test]

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
//! URL to load credentials. The URL MUST satisfy one of the following three properties:
2222
//! 1. The URL begins with `https`
2323
//! 2. The URL refers to an allowed IP address. If a URL contains a domain name instead of an IP address,
24-
//! a DNS lookup will be performed. ALL resolved IP addresses MUST refer to an allowed IP address, or
25-
//! the credentials provider will return `CredentialsError::InvalidConfiguration`. Valid IP addresses are:
24+
//! a DNS lookup will be performed. ALL resolved IP addresses MUST refer to an allowed IP address, or
25+
//! the credentials provider will return `CredentialsError::InvalidConfiguration`. Valid IP addresses are:
2626
//! a) Loopback interfaces
2727
//! b) The [ECS Task Metadata V2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v2.html)
2828
//! address ie 169.254.170.2.
@@ -416,9 +416,9 @@ impl From<InvalidFullUriErrorKind> for InvalidFullUriError {
416416
/// Either:
417417
/// 1. The URL is uses `https`
418418
/// 2. The URL refers to an allowed IP. If a URL contains a domain name instead of an IP address,
419-
/// a DNS lookup will be performed. ALL resolved IP addresses MUST refer to an allowed IP, or
420-
/// the credentials provider will return `CredentialsError::InvalidConfiguration`. Allowed IPs
421-
/// are the loopback interfaces, and the known ECS/EKS container IPs.
419+
/// a DNS lookup will be performed. ALL resolved IP addresses MUST refer to an allowed IP, or
420+
/// the credentials provider will return `CredentialsError::InvalidConfiguration`. Allowed IPs
421+
/// are the loopback interfaces, and the known ECS/EKS container IPs.
422422
async fn validate_full_uri(
423423
uri: &str,
424424
dns: Option<SharedDnsResolver>,

0 commit comments

Comments
 (0)