mirror of https://github.com/smithy-lang/smithy-rs
Bumping MSRV to 1.76.0 (#3653)
This commit is contained in:
commit
181b48bd71
|
@ -38,7 +38,7 @@ on:
|
|||
required: false
|
||||
|
||||
env:
|
||||
rust_version: 1.75.0
|
||||
rust_version: 1.76.0
|
||||
rust_toolchain_components: clippy,rustfmt
|
||||
ENCRYPTED_DOCKER_PASSWORD: ${{ secrets.ENCRYPTED_DOCKER_PASSWORD }}
|
||||
DOCKER_LOGIN_TOKEN_PASSPHRASE: ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
|
||||
|
|
|
@ -10,7 +10,7 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
rust_version: 1.75.0
|
||||
rust_version: 1.76.0
|
||||
|
||||
name: Claim unpublished crate names on crates.io
|
||||
run-name: ${{ github.workflow }}
|
||||
|
|
|
@ -8,7 +8,7 @@ on:
|
|||
name: Update GitHub Pages
|
||||
|
||||
env:
|
||||
rust_version: 1.75.0
|
||||
rust_version: 1.76.0
|
||||
|
||||
# Allow only one doc pages build to run at a time for the entire smithy-rs repo
|
||||
concurrency:
|
||||
|
|
|
@ -10,7 +10,7 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
rust_version: 1.75.0
|
||||
rust_version: 1.76.0
|
||||
|
||||
name: Release smithy-rs
|
||||
on:
|
||||
|
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
- name: Set up Rust
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.75.0
|
||||
toolchain: 1.76.0
|
||||
- name: Delete old SDK
|
||||
run: |
|
||||
- name: Generate a fresh SDK
|
||||
|
|
|
@ -53,3 +53,15 @@ message = "Updating the documentation for the `app_name` method on `ConfigLoader
|
|||
references = ["smithy-rs#3645"]
|
||||
meta = { "breaking" = false, "bug" = false, "tada" = false }
|
||||
author = "landonxjames"
|
||||
|
||||
[[aws-sdk-rust]]
|
||||
message = "Update MSRV to `1.76.0`"
|
||||
references = ["smithy-rs#3653"]
|
||||
meta = { "breaking" = true, "tada" = true, "bug" = false }
|
||||
author = "landonxjames"
|
||||
|
||||
[[smithy-rs]]
|
||||
message = "Update MSRV to `1.76.0`"
|
||||
references = ["smithy-rs#3653"]
|
||||
meta = { "breaking" = true, "tada" = true, "bug" = false, "target" = "all" }
|
||||
author = "landonxjames"
|
||||
|
|
|
@ -39,7 +39,7 @@ impl EnvironmentVariableCredentialsProvider {
|
|||
.get("AWS_SESSION_TOKEN")
|
||||
.ok()
|
||||
.and_then(|token| match token.trim() {
|
||||
s if s.is_empty() => None,
|
||||
"" => None,
|
||||
s => Some(s.to_string()),
|
||||
});
|
||||
Ok(Credentials::new(
|
||||
|
|
|
@ -118,7 +118,7 @@ object TestWorkspace {
|
|||
// help rust select the right version when we run cargo test
|
||||
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2048): load this from the msrv property using a
|
||||
// method as we do for runtime crate versions
|
||||
"[toolchain]\nchannel = \"1.75.0\"\n",
|
||||
"[toolchain]\nchannel = \"1.76.0\"\n",
|
||||
)
|
||||
// ensure there at least an empty lib.rs file to avoid broken crates
|
||||
newProject.resolve("src").mkdirs()
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
# Rust MSRV (entered into the generated README)
|
||||
rust.msrv=1.75.0
|
||||
rust.msrv=1.76.0
|
||||
|
||||
# To enable debug, swap out the two lines below.
|
||||
# When changing this value, be sure to run `./gradlew --stop` to kill the Gradle daemon.
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[toolchain]
|
||||
channel = "1.75.0"
|
||||
channel = "1.76.0"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# This is the base Docker build image used by CI
|
||||
|
||||
ARG base_image=public.ecr.aws/amazonlinux/amazonlinux:2023
|
||||
ARG rust_stable_version=1.75.0
|
||||
ARG rust_stable_version=1.76.0
|
||||
ARG rust_nightly_version=nightly-2024-02-07
|
||||
|
||||
FROM ${base_image} AS bare_base_image
|
||||
|
|
Loading…
Reference in New Issue