Skip to content
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changelog/bump-msrv-1.91.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
applies_to: ["client", "server", "aws-sdk-rust"]
authors: ["vcjana"]
references: []
breaking: true
new_feature: false
bug_fix: false
---
Upgrade MSRV to Rust 1.91.0.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
required: false

env:
rust_version: 1.88.0
rust_version: 1.91.0
rust_toolchain_components: clippy,rustfmt
ENCRYPTED_DOCKER_PASSWORD: ${{ secrets.ENCRYPTED_DOCKER_PASSWORD }}
DOCKER_LOGIN_TOKEN_PASSPHRASE: ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
Expand Down Expand Up @@ -253,20 +253,23 @@ jobs:
build_aws_exclude: ''
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
test_smithy_rs_features: --all-features
test_aws_features: --all-features
Comment thread
ysaito1001 marked this conversation as resolved.
test_aws_exclude: ''
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
- target: powerpc-unknown-linux-gnu
build_smithy_rs_features: ''
build_aws_exclude: --exclude aws-inlineable
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
test_smithy_rs_features: ''
test_aws_features: ''
test_aws_exclude: --exclude aws-inlineable
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
- target: powerpc64-unknown-linux-gnu
build_smithy_rs_features: ''
build_aws_exclude: --exclude aws-inlineable
build_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
test_smithy_rs_features: ''
test_aws_features: ''
test_aws_exclude: --exclude aws-inlineable
test_smithy_rs_exclude: --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental --exclude aws-smithy-http-client
steps:
Expand Down Expand Up @@ -331,7 +334,7 @@ jobs:
run: cross test --target ${{ matrix.target }} --manifest-path "rust-runtime/Cargo.toml" ${{ matrix.test_smithy_rs_exclude }} --workspace ${{ matrix.test_smithy_rs_features }}
- name: Test AWS rust-runtime crates
shell: bash
run: cross test --target ${{ matrix.target }} --manifest-path "aws/rust-runtime/Cargo.toml" ${{ matrix.test_aws_exclude }} --workspace
run: cross test --target ${{ matrix.target }} --manifest-path "aws/rust-runtime/Cargo.toml" ${{ matrix.test_aws_exclude }} --workspace ${{ matrix.test_aws_features }}

# Run the canary against generated SDKs
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claim-crate-names.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

env:
rust_version: 1.88.0
rust_version: 1.91.0

name: Claim unpublished crate names on crates.io
run-name: ${{ github.workflow }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
name: Update GitHub Pages

env:
rust_version: 1.88.0
rust_version: 1.91.0

# Allow only one doc pages build to run at a time for the entire smithy-rs repo
concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ env:
apt_dependencies: libssl-dev gnuplot jq
java_version: 17
rust_toolchain_components: clippy,rustfmt
rust_nightly_version: nightly-2025-05-04
rust_nightly_version: nightly-2025-10-18
ENCRYPTED_DOCKER_PASSWORD: ${{ secrets.ENCRYPTED_DOCKER_PASSWORD }}
DOCKER_LOGIN_TOKEN_PASSPHRASE: ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

env:
rust_version: 1.88.0
rust_version: 1.91.0

name: Release smithy-rs
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-sdk-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.88.0
toolchain: 1.91.0
- name: Delete old SDK
run: |
- name: Generate a fresh SDK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ class EndpointOverrideMetricDecoratorTest {
awsSdkIntegrationTest(
model,
testParams,
environment = mapOf("RUSTUP_TOOLCHAIN" to "1.88.0"),
Comment thread
vcjana marked this conversation as resolved.
) { context, rustCrate ->
val rc = context.runtimeConfig
val moduleName = context.moduleUseName()
Expand All @@ -104,16 +103,16 @@ class EndpointOverrideMetricDecoratorTest {
use $moduleName::Client;
use #{capture_request};
use #{assert_ua_contains_metric_values};

let (http_client, rcvr) = capture_request(None);

// Create SdkConfig with endpoint URL
let sdk_config = #{SdkConfig}::builder()
.region(Region::new("us-east-1"))
.endpoint_url("https://sdk-custom.example.com")
.http_client(http_client.clone())
.build();

// Create client from SdkConfig
let client = Client::new(&sdk_config);

Expand All @@ -136,7 +135,7 @@ class EndpointOverrideMetricDecoratorTest {
.headers()
.get("x-amz-user-agent")
.expect("x-amz-user-agent header missing");

assert_ua_contains_metric_values(user_agent, &["N"]);
""",
*preludeScope,
Expand All @@ -156,7 +155,6 @@ class EndpointOverrideMetricDecoratorTest {
awsSdkIntegrationTest(
model,
testParams,
environment = mapOf("RUSTUP_TOOLCHAIN" to "1.88.0"),
) { context, rustCrate ->
val rc = context.runtimeConfig
val moduleName = context.moduleUseName()
Expand All @@ -171,9 +169,9 @@ class EndpointOverrideMetricDecoratorTest {
use $moduleName::config::{Credentials, Region, SharedCredentialsProvider};
use $moduleName::{Config, Client};
use #{capture_request};

let (http_client, rcvr) = capture_request(None);

// Create config WITHOUT endpoint override
let config = Config::builder()
.credentials_provider(SharedCredentialsProvider::new(Credentials::for_tests()))
Expand Down
38 changes: 19 additions & 19 deletions aws/rust-runtime/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions aws/rust-runtime/aws-config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aws-config"
version = "1.8.13"
version = "1.8.14"
authors = [
"AWS Rust SDK Team <aws-sdk-rust@amazon.com>",
"Russell Cohen <rcoh@amazon.com>",
Expand All @@ -10,7 +10,7 @@ edition = "2021"
exclude = ["test-data/*", "integration-tests/*"]
license = "Apache-2.0"
repository = "https://github.com/smithy-lang/smithy-rs"
rust-version = "1.88"
rust-version = "1.91"

[features]
behavior-version-latest = []
Expand Down
2 changes: 2 additions & 0 deletions aws/rust-runtime/aws-config/src/profile/credentials/repr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,12 +632,14 @@ mod tests {
}

#[derive(Deserialize, Debug, PartialEq, Eq)]
#[allow(dead_code)]
enum TestOutput {
ProfileChain(Vec<Provider>),
Error(String),
}

#[derive(Deserialize, Debug, Eq, PartialEq)]
#[allow(dead_code)]
enum Provider {
AssumeRole {
role_arn: String,
Expand Down
1 change: 1 addition & 0 deletions aws/rust-runtime/aws-config/src/test_case.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ impl From<aws_credential_types::Credentials> for Credentials {
/// Token for use in test cases. These implement Serialize/Deserialize and have a
/// non-hidden debug implementation.
#[derive(Deserialize, Debug, Eq, PartialEq)]
#[allow(dead_code)]
pub(crate) struct Token {
pub(crate) token: String,
pub(crate) expiration: Option<String>,
Expand Down
4 changes: 2 additions & 2 deletions aws/rust-runtime/aws-credential-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "aws-credential-types"
version = "1.2.11"
version = "1.2.12"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
description = "Types for AWS SDK credentials."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/smithy-lang/smithy-rs"
rust-version = "1.88"
rust-version = "1.91"

[features]
hardcoded-credentials = []
Expand Down
2 changes: 1 addition & 1 deletion aws/rust-runtime/aws-inlineable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
license = "Apache-2.0"
publish = false
repository = "https://github.com/smithy-lang/smithy-rs"
rust-version = "1.88"
rust-version = "1.91"

[features]
http-1x = ["aws-smithy-runtime-api/http-1x"]
Expand Down
4 changes: 2 additions & 2 deletions aws/rust-runtime/aws-runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "aws-runtime-api"
version = "1.1.10"
version = "1.1.11"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
description = "Runtime support code for the AWS SDK. This isn't intended to be used directly."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/smithy-lang/smithy-rs"
rust-version = "1.88"
rust-version = "1.91"

[dependencies]

Expand Down
Loading
Loading