From 80f6dd6cdc6173d525c99785f11f1c36658393b2 Mon Sep 17 00:00:00 2001
From: AWS SDK Rust Bot <97246200+aws-sdk-rust-ci@users.noreply.github.com>
Date: Tue, 5 Nov 2024 00:32:41 -0600
Subject: [PATCH] Run `cargo update` on the runtime lockfiles and the SDK
lockfile (#3896)
Updating lockfiles introduced `pin-project` `0.2.15`, which revealed [a
bug in
`cargo-check-external-types`](https://github.com/awslabs/cargo-check-external-types/pull/183).
This required `cargo-check-external-types` to release a new version with
a newer nightly version `nightly-2024-06-30`.
Switching to `nightly-2024-06-30` triggered a series of changes due to
the [automatic checking of cfg at compile
time](https://blog.rust-lang.org/2024/05/06/check-cfg.html). As a
result, the compiler has become stricter regarding unexpected `cfg` and
unused Cargo features in our codebase.
Most of the changes in this PR address these issues:
Expand to view the actual errors...
Ex.1
```
error: unexpected `cfg` condition name: `aws_sdk_unstable`
--> aws-smithy-types/src/number.rs:29:13
|
29 | all(aws_sdk_unstable, feature = "serde-serialize")
| ^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(aws_sdk_unstable)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(aws_sdk_unstable)");` to the top of the `build.rs`
= note: see for more information about checking conditional configuration
```
Ex.2
```
error: struct `ArrayIter` is never constructed
--> aws-smithy-cbor/src/decode.rs:251:12
|
251 | pub struct ArrayIter<'a, 'b, T> {
| ^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
error: struct `MapIter` is never constructed
--> aws-smithy-cbor/src/decode.rs:266:12
|
266 | pub struct MapIter<'a, 'b, K, V> {
| ^^^^^^^
error: could not compile `aws-smithy-cbor` (lib) due to 2 previous errors
```
Ex.3
```
error: for loop over a `&Option`. This is more readably written as an `if let` statement
--> aws-smithy-runtime-api/src/client/runtime_components.rs:888:19
|
888 | validate!(&self.retry_strategy);
| ^^^^^^^^^^^^^^^^^^^^
|
help: to check pattern in a loop use `while let`
|
871 | while let Some() = in $field {
| ~~~~~~~~~~~~~~~~~~
help: consider using `if let` to clear intent
|
871 | if let Some() = in $field {
| ~~~~~~~~~~~~~~~
error: could not compile `aws-smithy-runtime-api` (lib) due to 4 previous errors
```
Ex.4
```
error: unexpected `cfg` condition name: `crypto_unstable`
--> aws-smithy-experimental/src/hyper_1_0.rs:687:11
|
687 | #[cfg(crypto_unstable)]
| ^^^^^^^^^^^^^^^
|
= help: expected names are: `aws_sdk_unstable`, `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(crypto_unstable)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(crypto_unstable)");` to the top of the `build.rs`
= note: see for more information about checking conditional configuration
= note: `-D unexpected-cfgs` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unexpected_cfgs)]`
```
Ex.5
```
error: unexpected `cfg` condition value: `http-1x`
--> aws-inlineable/src/presigning.rs:249:11
|
249 | #[cfg(feature = "http-1x")]
| ^^^^^^^^^^---------
| |
| help: there is a expected value with a similar name: `"http_1x"`
|
= note: expected values for `feature` are: `http_1x`
= help: consider adding `http-1x` as a feature in `Cargo.toml`
= note: see for more information about checking conditional configuration
error: could not document `aws-inlineable`
```
Ex.6
```
error: unexpected `cfg` condition value: `gated-tests`
--> sdk/s3/src/endpoint_lib/substring.rs:35:17
|
35 | #[cfg(all(test, feature = "gated-tests"))]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `behavior-version-latest`, `default`, `http-1x`, `rt-tokio`, `rustls`, `sigv4a`, and `test-util`
= help: consider adding `gated-tests` as a feature in `Cargo.toml`
= note: see for more information about checking conditional configuration
error: could not compile `aws-sdk-s3` (lib) due to 2 previous errors
```
Ex.7
```
error: unexpected `cfg` condition value: `test-util`
--> src/lib.rs:514:40
|
514 | #[cfg(all(feature = "sso", feature = "test-util"))]
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `allow-compilation`, `behavior-version-latest`, `client-hyper`, `credentials-process`, `default`, `rt-tokio`, `rustls`, and `sso`
= help: consider adding `test-util` as a feature in `Cargo.toml`
= note: see for more information about checking conditional configuration
= note: `-D unexpected-cfgs` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unexpected_cfgs)]`
error: could not compile `aws-config` (lib) due to 1 previous error
```
---------
Co-authored-by: ysaito1001
Co-authored-by: Zelda Hessler
---
.github/workflows/pull-request-bot.yml | 2 +-
aws/rust-runtime/Cargo.lock | 54 ++--
aws/rust-runtime/aws-config/Cargo.lock | 34 +--
aws/rust-runtime/aws-config/Cargo.toml | 2 +-
aws/rust-runtime/aws-config/src/lib.rs | 2 +-
aws/rust-runtime/aws-inlineable/Cargo.toml | 2 +-
aws/sdk/Cargo.lock | 269 +++++++++---------
.../smithy/endpoint/EndpointsDecorator.kt | 8 +
.../codegen/client/smithy/endpoint/Util.kt | 4 +-
.../codegen/core/rustlang/CargoDependency.kt | 3 +-
rust-runtime/Cargo.lock | 267 +++++++++--------
rust-runtime/aws-smithy-cbor/Cargo.toml | 2 +-
rust-runtime/aws-smithy-cbor/src/decode.rs | 2 +
.../aws-smithy-experimental/Cargo.toml | 5 +-
.../aws-smithy-runtime-api/Cargo.toml | 2 +-
.../src/client/runtime_components.rs | 1 +
rust-runtime/aws-smithy-types/Cargo.toml | 5 +-
.../inlineable/src/endpoint_lib/substring.rs | 2 +
tools/ci-build/Dockerfile | 6 +-
19 files changed, 333 insertions(+), 339 deletions(-)
diff --git a/.github/workflows/pull-request-bot.yml b/.github/workflows/pull-request-bot.yml
index fba2e96f0..7bdb5f791 100644
--- a/.github/workflows/pull-request-bot.yml
+++ b/.github/workflows/pull-request-bot.yml
@@ -30,7 +30,7 @@ env:
apt_dependencies: libssl-dev gnuplot jq
java_version: 17
rust_toolchain_components: clippy,rustfmt
- rust_nightly_version: nightly-2024-03-15
+ rust_nightly_version: nightly-2024-06-30
jobs:
generate-diff:
diff --git a/aws/rust-runtime/Cargo.lock b/aws/rust-runtime/Cargo.lock
index ef60447cc..e6ed3aafb 100644
--- a/aws/rust-runtime/Cargo.lock
+++ b/aws/rust-runtime/Cargo.lock
@@ -40,9 +40,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
[[package]]
name = "anstyle"
-version = "1.0.8"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
+checksum = "8365de52b16c035ff4fcafe0092ba9390540e3e352870ac09933bebcaa2c8c56"
[[package]]
name = "arbitrary"
@@ -69,7 +69,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -317,7 +317,7 @@ dependencies = [
[[package]]
name = "aws-smithy-runtime-api"
-version = "1.7.2"
+version = "1.7.3"
dependencies = [
"aws-smithy-async",
"aws-smithy-types",
@@ -332,7 +332,7 @@ dependencies = [
[[package]]
name = "aws-smithy-types"
-version = "1.2.8"
+version = "1.2.9"
dependencies = [
"base64-simd",
"bytes",
@@ -1235,9 +1235,9 @@ dependencies = [
[[package]]
name = "libm"
-version = "0.2.8"
+version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
+checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"
[[package]]
name = "linux-raw-sys"
@@ -1469,9 +1469,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "pin-project-lite"
-version = "0.2.14"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
+checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
[[package]]
name = "pin-utils"
@@ -1680,9 +1680,9 @@ dependencies = [
[[package]]
name = "regex"
-version = "1.11.0"
+version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8"
+checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
dependencies = [
"aho-corasick",
"memchr",
@@ -1780,9 +1780,9 @@ dependencies = [
[[package]]
name = "rustix"
-version = "0.38.37"
+version = "0.38.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
+checksum = "aa260229e6538e52293eeb577aabd09945a09d6d9cc0fc550ed7529056c2e32a"
dependencies = [
"bitflags",
"errno",
@@ -1937,22 +1937,22 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5"
[[package]]
name = "serde"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1"
+checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5"
+checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -2083,9 +2083,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.82"
+version = "2.0.85"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021"
+checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
dependencies = [
"proc-macro2",
"quote",
@@ -2122,7 +2122,7 @@ checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -2216,7 +2216,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -2267,7 +2267,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -2327,7 +2327,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04659ddb06c87d233c566112c1c9c5b9e98256d9af50ec3bc9c8327f873a7568"
dependencies = [
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -2472,7 +2472,7 @@ dependencies = [
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
"wasm-bindgen-shared",
]
@@ -2494,7 +2494,7 @@ checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -2664,7 +2664,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
diff --git a/aws/rust-runtime/aws-config/Cargo.lock b/aws/rust-runtime/aws-config/Cargo.lock
index 84b537384..e45e6bf9a 100644
--- a/aws/rust-runtime/aws-config/Cargo.lock
+++ b/aws/rust-runtime/aws-config/Cargo.lock
@@ -283,7 +283,7 @@ dependencies = [
[[package]]
name = "aws-smithy-runtime-api"
-version = "1.7.2"
+version = "1.7.3"
dependencies = [
"aws-smithy-async",
"aws-smithy-types",
@@ -298,7 +298,7 @@ dependencies = [
[[package]]
name = "aws-smithy-types"
-version = "1.2.8"
+version = "1.2.9"
dependencies = [
"base64-simd",
"bytes",
@@ -1052,9 +1052,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "pin-project-lite"
-version = "0.2.14"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
+checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
[[package]]
name = "pin-utils"
@@ -1131,9 +1131,9 @@ dependencies = [
[[package]]
name = "regex"
-version = "1.11.0"
+version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8"
+checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
dependencies = [
"aho-corasick",
"memchr",
@@ -1329,22 +1329,22 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5"
[[package]]
name = "serde"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1"
+checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5"
+checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1445,9 +1445,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.82"
+version = "2.0.85"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021"
+checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
dependencies = [
"proc-macro2",
"quote",
@@ -1471,7 +1471,7 @@ checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1555,7 +1555,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1606,7 +1606,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1679,7 +1679,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04659ddb06c87d233c566112c1c9c5b9e98256d9af50ec3bc9c8327f873a7568"
dependencies = [
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
diff --git a/aws/rust-runtime/aws-config/Cargo.toml b/aws/rust-runtime/aws-config/Cargo.toml
index d8ed49845..f94af9296 100644
--- a/aws/rust-runtime/aws-config/Cargo.toml
+++ b/aws/rust-runtime/aws-config/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "aws-config"
-version = "1.5.9"
+version = "1.5.10"
authors = [
"AWS Rust SDK Team ",
"Russell Cohen ",
diff --git a/aws/rust-runtime/aws-config/src/lib.rs b/aws/rust-runtime/aws-config/src/lib.rs
index 49bfad8d6..37409321b 100644
--- a/aws/rust-runtime/aws-config/src/lib.rs
+++ b/aws/rust-runtime/aws-config/src/lib.rs
@@ -511,7 +511,7 @@ mod loader {
pub fn test_credentials(self) -> Self {
#[allow(unused_mut)]
let mut ret = self.credentials_provider(Credentials::for_tests());
- #[cfg(all(feature = "sso", feature = "test-util"))]
+ #[cfg(feature = "sso")]
{
use aws_smithy_runtime_api::client::identity::http::Token;
ret = ret.token_provider(Token::for_tests());
diff --git a/aws/rust-runtime/aws-inlineable/Cargo.toml b/aws/rust-runtime/aws-inlineable/Cargo.toml
index 07a00c99a..128b6aa42 100644
--- a/aws/rust-runtime/aws-inlineable/Cargo.toml
+++ b/aws/rust-runtime/aws-inlineable/Cargo.toml
@@ -12,7 +12,7 @@ publish = false
repository = "https://github.com/smithy-lang/smithy-rs"
[features]
-http_1x = ["dep:http-1x", "dep:http-body-1x", "aws-smithy-runtime-api/http-1x"]
+http-1x = ["dep:http-1x", "dep:http-body-1x", "aws-smithy-runtime-api/http-1x"]
[dependencies]
aws-credential-types = { path = "../aws-credential-types" }
diff --git a/aws/sdk/Cargo.lock b/aws/sdk/Cargo.lock
index a3cd61d32..cf5bebfce 100644
--- a/aws/sdk/Cargo.lock
+++ b/aws/sdk/Cargo.lock
@@ -17,18 +17,6 @@ version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
-[[package]]
-name = "ahash"
-version = "0.8.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
-dependencies = [
- "cfg-if",
- "once_cell",
- "version_check",
- "zerocopy",
-]
-
[[package]]
name = "aho-corasick"
version = "1.1.3"
@@ -52,9 +40,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
[[package]]
name = "anstyle"
-version = "1.0.8"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
+checksum = "8365de52b16c035ff4fcafe0092ba9390540e3e352870ac09933bebcaa2c8c56"
[[package]]
name = "approx"
@@ -178,7 +166,7 @@ dependencies = [
"futures-lite 2.3.0",
"parking",
"polling 3.7.3",
- "rustix 0.38.37",
+ "rustix 0.38.38",
"slab",
"tracing",
"windows-sys 0.59.0",
@@ -228,7 +216,7 @@ dependencies = [
"cfg-if",
"event-listener 3.1.0",
"futures-lite 1.13.0",
- "rustix 0.38.37",
+ "rustix 0.38.38",
"windows-sys 0.48.0",
]
@@ -244,7 +232,7 @@ dependencies = [
"cfg-if",
"futures-core",
"futures-io",
- "rustix 0.38.37",
+ "rustix 0.38.38",
"signal-hook-registry",
"slab",
"windows-sys 0.59.0",
@@ -295,7 +283,7 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -312,7 +300,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -381,7 +369,7 @@ checksum = "60e8f6b615cb5fc60a98132268508ad104310f0cfb25a1c22eee76efdf9154da"
dependencies = [
"aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"zeroize",
]
@@ -488,13 +476,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a10d5c055aa540164d9561a0e2e74ad30f0dcf7393c3a92f6733ddf9c5762468"
dependencies = [
"aws-credential-types 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-sigv4 1.2.4",
+ "aws-sigv4 1.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime 1.7.2",
+ "aws-smithy-runtime 1.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-types 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes",
"fastrand 2.0.2",
@@ -904,22 +892,21 @@ dependencies = [
[[package]]
name = "aws-sdk-s3"
-version = "1.57.0"
+version = "1.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8888c238bf93c77c5df8274b3999fd7fc1bb3fb658616f40dfde9e4fcd9efd94"
+checksum = "0656a79cf5e6ab0d4bb2465cd750a7a2fd7ea26c062183ed94225f5782e22365"
dependencies = [
- "ahash",
"aws-credential-types 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-runtime 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-sigv4 1.2.4",
+ "aws-sigv4 1.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-checksums 0.60.12",
+ "aws-smithy-checksums 0.60.13 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-json 0.60.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime 1.7.2",
+ "aws-smithy-runtime 1.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-xml 0.60.9 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-types 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes",
@@ -1122,26 +1109,33 @@ version = "0.60.3"
[[package]]
name = "aws-sigv4"
-version = "1.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc8db6904450bafe7473c6ca9123f88cc11089e41a025408f992db4e22d3be68"
+version = "1.2.5"
dependencies = [
- "aws-credential-types 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-credential-types 1.2.1",
+ "aws-smithy-eventstream 0.60.5",
+ "aws-smithy-http 0.60.11",
+ "aws-smithy-runtime-api 1.7.2",
+ "aws-smithy-types 1.2.8",
"bytes",
+ "criterion",
"crypto-bigint 0.5.5",
"form_urlencoded",
"hex",
+ "hex-literal",
"hmac",
"http 0.2.12",
"http 1.1.0",
+ "httparse",
+ "libfuzzer-sys",
"once_cell",
"p256",
"percent-encoding",
+ "pretty_assertions",
+ "proptest",
"ring",
+ "serde",
+ "serde_derive",
+ "serde_json",
"sha2",
"subtle",
"time",
@@ -1152,32 +1146,25 @@ dependencies = [
[[package]]
name = "aws-sigv4"
version = "1.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5619742a0d8f253be760bfbb8e8e8368c69e3587e4637af5754e488a611499b1"
dependencies = [
- "aws-credential-types 1.2.1",
- "aws-smithy-eventstream 0.60.5",
- "aws-smithy-http 0.60.11",
- "aws-smithy-runtime-api 1.7.2",
- "aws-smithy-types 1.2.8",
+ "aws-credential-types 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes",
- "criterion",
"crypto-bigint 0.5.5",
"form_urlencoded",
"hex",
- "hex-literal",
"hmac",
"http 0.2.12",
"http 1.1.0",
- "httparse",
- "libfuzzer-sys",
"once_cell",
"p256",
"percent-encoding",
- "pretty_assertions",
- "proptest",
"ring",
- "serde",
- "serde_derive",
- "serde_json",
"sha2",
"subtle",
"time",
@@ -1218,13 +1205,12 @@ dependencies = [
[[package]]
name = "aws-smithy-checksums"
-version = "0.60.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "598b1689d001c4d4dc3cb386adb07d37786783aee3ac4b324bcadac116bf3d23"
+version = "0.60.13"
dependencies = [
- "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-http 0.60.11",
+ "aws-smithy-types 1.2.8",
"bytes",
+ "bytes-utils",
"crc32c",
"crc32fast",
"hex",
@@ -1232,19 +1218,23 @@ dependencies = [
"http-body 0.4.6",
"md-5",
"pin-project-lite",
+ "pretty_assertions",
"sha1",
"sha2",
+ "tokio",
"tracing",
+ "tracing-test",
]
[[package]]
name = "aws-smithy-checksums"
version = "0.60.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba1a71073fca26775c8b5189175ea8863afb1c9ea2cceb02a5de5ad9dfbaa795"
dependencies = [
- "aws-smithy-http 0.60.11",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes",
- "bytes-utils",
"crc32c",
"crc32fast",
"hex",
@@ -1252,12 +1242,9 @@ dependencies = [
"http-body 0.4.6",
"md-5",
"pin-project-lite",
- "pretty_assertions",
"sha1",
"sha2",
- "tokio",
"tracing",
- "tracing-test",
]
[[package]]
@@ -1303,7 +1290,7 @@ version = "0.60.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cef7d0a272725f87e51ba2bf89f8c21e4df61b9e49ae1ac367a6d69916ef7c90"
dependencies = [
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes",
"crc32fast",
]
@@ -1323,7 +1310,7 @@ dependencies = [
"hyper-util",
"once_cell",
"pin-project-lite",
- "rustls 0.23.15",
+ "rustls 0.23.16",
"tokio",
"tower",
"tracing",
@@ -1361,7 +1348,7 @@ checksum = "5c8bc3e8fdc6b8d07d976e301c02fe553f72a39b7a9fea820e023268467d7ab6"
dependencies = [
"aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes",
"bytes-utils",
"futures-core",
@@ -1397,14 +1384,14 @@ version = "0.60.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4683df9469ef09468dad3473d129960119a0d3593617542b7d52086c8486f2d6"
dependencies = [
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "aws-smithy-mocks-experimental"
version = "0.2.1"
dependencies = [
- "aws-sdk-s3 1.57.0",
+ "aws-sdk-s3 1.58.0",
"aws-smithy-runtime-api 1.7.2",
"aws-smithy-types 1.2.8",
"tokio",
@@ -1456,19 +1443,20 @@ dependencies = [
[[package]]
name = "aws-smithy-runtime"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a065c0fe6fdbdf9f11817eb68582b2ab4aff9e9c39e986ae48f7ec576c6322db"
+version = "1.7.3"
dependencies = [
- "aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-protocol-test 0.63.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "approx",
+ "aws-smithy-async 1.2.1",
+ "aws-smithy-http 0.60.11",
+ "aws-smithy-protocol-test 0.63.0",
+ "aws-smithy-runtime-api 1.7.2",
+ "aws-smithy-types 1.2.8",
"bytes",
"fastrand 2.0.2",
+ "futures-util",
"h2 0.3.26",
"http 0.2.12",
+ "http 1.1.0",
"http-body 0.4.6",
"http-body 1.0.1",
"httparse",
@@ -1478,30 +1466,31 @@ dependencies = [
"once_cell",
"pin-project-lite",
"pin-utils",
+ "pretty_assertions",
"rustls 0.21.12",
"serde",
"serde_json",
"tokio",
"tracing",
"tracing-subscriber",
+ "tracing-test",
]
[[package]]
name = "aws-smithy-runtime"
version = "1.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be28bd063fa91fd871d131fc8b68d7cd4c5fa0869bea68daca50dcb1cbd76be2"
dependencies = [
- "approx",
- "aws-smithy-async 1.2.1",
- "aws-smithy-http 0.60.11",
- "aws-smithy-protocol-test 0.63.0",
- "aws-smithy-runtime-api 1.7.2",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-protocol-test 0.63.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes",
"fastrand 2.0.2",
- "futures-util",
"h2 0.3.26",
"http 0.2.12",
- "http 1.1.0",
"http-body 0.4.6",
"http-body 1.0.1",
"httparse",
@@ -1511,14 +1500,12 @@ dependencies = [
"once_cell",
"pin-project-lite",
"pin-utils",
- "pretty_assertions",
"rustls 0.21.12",
"serde",
"serde_json",
"tokio",
"tracing",
"tracing-subscriber",
- "tracing-test",
]
[[package]]
@@ -1544,7 +1531,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e086682a53d3aa241192aa110fa8dfce98f2f5ac2ead0de84d41582c7e8fdb96"
dependencies = [
"aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes",
"http 0.2.12",
"http 1.1.0",
@@ -1556,61 +1543,61 @@ dependencies = [
[[package]]
name = "aws-smithy-types"
-version = "1.2.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "147100a7bea70fa20ef224a6bad700358305f5dc0f84649c53769761395b355b"
+version = "1.2.8"
dependencies = [
+ "base64 0.13.1",
"base64-simd",
"bytes",
"bytes-utils",
+ "ciborium",
+ "criterion",
"futures-core",
"http 0.2.12",
"http 1.1.0",
"http-body 0.4.6",
"http-body 1.0.1",
"http-body-util",
+ "hyper 0.14.31",
"itoa",
+ "lazy_static",
"num-integer",
"pin-project-lite",
"pin-utils",
+ "proptest",
+ "rand",
"ryu",
"serde",
+ "serde_json",
+ "tempfile",
"time",
"tokio",
+ "tokio-stream",
"tokio-util",
]
[[package]]
name = "aws-smithy-types"
version = "1.2.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "07c9cdc179e6afbf5d391ab08c85eac817b51c87e1892a5edb5f7bbdc64314b4"
dependencies = [
- "base64 0.13.1",
"base64-simd",
"bytes",
"bytes-utils",
- "ciborium",
- "criterion",
"futures-core",
"http 0.2.12",
"http 1.1.0",
"http-body 0.4.6",
"http-body 1.0.1",
"http-body-util",
- "hyper 0.14.31",
"itoa",
- "lazy_static",
"num-integer",
"pin-project-lite",
"pin-utils",
- "proptest",
- "rand",
"ryu",
"serde",
- "serde_json",
- "tempfile",
"time",
"tokio",
- "tokio-stream",
"tokio-util",
]
@@ -1684,7 +1671,7 @@ dependencies = [
"aws-credential-types 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc_version",
"tracing",
]
@@ -1757,7 +1744,7 @@ dependencies = [
"regex",
"rustc-hash",
"shlex",
- "syn 2.0.82",
+ "syn 2.0.85",
"which",
]
@@ -2187,7 +2174,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -2436,7 +2423,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -2781,7 +2768,7 @@ dependencies = [
"http 1.1.0",
"hyper 1.5.0",
"hyper-util",
- "rustls 0.23.15",
+ "rustls 0.23.16",
"rustls-native-certs 0.8.0",
"rustls-pki-types",
"tokio",
@@ -2791,9 +2778,9 @@ dependencies = [
[[package]]
name = "hyper-util"
-version = "0.1.9"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b"
+checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
dependencies = [
"bytes",
"futures-channel",
@@ -2952,9 +2939,9 @@ dependencies = [
[[package]]
name = "libm"
-version = "0.2.8"
+version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
+checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"
[[package]]
name = "linux-raw-sys"
@@ -3039,7 +3026,7 @@ checksum = "bd2209fff77f705b00c737016a48e73733d7fbccb8b007194db148f03561fb70"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -3234,9 +3221,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "pin-project-lite"
-version = "0.2.14"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
+checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
[[package]]
name = "pin-utils"
@@ -3319,7 +3306,7 @@ dependencies = [
"concurrent-queue",
"hermit-abi 0.4.0",
"pin-project-lite",
- "rustix 0.38.37",
+ "rustix 0.38.38",
"tracing",
"windows-sys 0.59.0",
]
@@ -3351,12 +3338,12 @@ dependencies = [
[[package]]
name = "prettyplease"
-version = "0.2.24"
+version = "0.2.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "910d41a655dac3b764f1ade94821093d3610248694320cd072303a8eedcf221d"
+checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033"
dependencies = [
"proc-macro2",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -3497,9 +3484,9 @@ dependencies = [
[[package]]
name = "regex"
-version = "1.11.0"
+version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8"
+checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
dependencies = [
"aho-corasick",
"memchr",
@@ -3617,9 +3604,9 @@ dependencies = [
[[package]]
name = "rustix"
-version = "0.38.37"
+version = "0.38.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
+checksum = "aa260229e6538e52293eeb577aabd09945a09d6d9cc0fc550ed7529056c2e32a"
dependencies = [
"bitflags 2.6.0",
"errno",
@@ -3642,9 +3629,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.15"
+version = "0.23.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fbb44d7acc4e873d613422379f69f237a1b141928c02f6bc6ccfddddc2d7993"
+checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e"
dependencies = [
"aws-lc-rs",
"once_cell",
@@ -3829,22 +3816,22 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5"
[[package]]
name = "serde"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1"
+checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5"
+checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -4003,9 +3990,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.82"
+version = "2.0.85"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021"
+checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
dependencies = [
"proc-macro2",
"quote",
@@ -4021,7 +4008,7 @@ dependencies = [
"cfg-if",
"fastrand 2.0.2",
"once_cell",
- "rustix 0.38.37",
+ "rustix 0.38.38",
"windows-sys 0.59.0",
]
@@ -4042,7 +4029,7 @@ checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -4137,7 +4124,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -4156,7 +4143,7 @@ version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
dependencies = [
- "rustls 0.23.15",
+ "rustls 0.23.16",
"rustls-pki-types",
"tokio",
]
@@ -4253,7 +4240,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -4326,7 +4313,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04659ddb06c87d233c566112c1c9c5b9e98256d9af50ec3bc9c8327f873a7568"
dependencies = [
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -4411,9 +4398,9 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
[[package]]
name = "value-bag"
-version = "1.9.0"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101"
+checksum = "3ef4c4aa54d5d05a279399bfa921ec387b7aba77caf7a682ae8d86785b8fdad2"
[[package]]
name = "version_check"
@@ -4498,7 +4485,7 @@ dependencies = [
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
"wasm-bindgen-shared",
]
@@ -4532,7 +4519,7 @@ checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -4568,7 +4555,7 @@ dependencies = [
"either",
"home",
"once_cell",
- "rustix 0.38.37",
+ "rustix 0.38.38",
]
[[package]]
@@ -4789,7 +4776,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
diff --git a/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/EndpointsDecorator.kt b/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/EndpointsDecorator.kt
index cb940ddfa..222eaf41c 100644
--- a/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/EndpointsDecorator.kt
+++ b/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/EndpointsDecorator.kt
@@ -17,6 +17,7 @@ import software.amazon.smithy.rust.codegen.client.smithy.endpoint.rulesgen.Smith
import software.amazon.smithy.rust.codegen.client.smithy.generators.ServiceRuntimePluginCustomization
import software.amazon.smithy.rust.codegen.client.smithy.generators.ServiceRuntimePluginSection
import software.amazon.smithy.rust.codegen.client.smithy.generators.config.ConfigCustomization
+import software.amazon.smithy.rust.codegen.core.rustlang.Feature
import software.amazon.smithy.rust.codegen.core.rustlang.Writable
import software.amazon.smithy.rust.codegen.core.rustlang.rustTemplate
import software.amazon.smithy.rust.codegen.core.rustlang.writable
@@ -147,6 +148,13 @@ class EndpointsDecorator : ClientCodegenDecorator {
generator.testGenerator()(this)
}
}
+ rustCrate.mergeFeature(
+ Feature(
+ "gated-tests",
+ default = false,
+ emptyList(),
+ ),
+ )
}
}
diff --git a/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/Util.kt b/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/Util.kt
index d22642edc..63af8a6dc 100644
--- a/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/Util.kt
+++ b/codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/Util.kt
@@ -51,8 +51,8 @@ object EndpointsLib {
endpointsLib("partition", CargoDependency.smithyJson(runtimeConfig), CargoDependency.RegexLite).toType()
.resolve("PartitionResolver")
- val substring = endpointsLib("substring").toType().resolve("substring")
- val isValidHostLabel = endpointsLib("host").toType().resolve("is_valid_host_label")
+ val substring = endpointsLib("substring", CargoDependency.Proptest).toType().resolve("substring")
+ val isValidHostLabel = endpointsLib("host", CargoDependency.Proptest).toType().resolve("is_valid_host_label")
val parseUrl = endpointsLib("parse_url", CargoDependency.Http, CargoDependency.Url).toType().resolve("parse_url")
val uriEncode = endpointsLib("uri_encode", CargoDependency.PercentEncoding).toType().resolve("uri_encode")
diff --git a/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/rustlang/CargoDependency.kt b/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/rustlang/CargoDependency.kt
index b9a215242..83a102c6c 100644
--- a/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/rustlang/CargoDependency.kt
+++ b/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/rustlang/CargoDependency.kt
@@ -299,6 +299,7 @@ data class CargoDependency(
val Approx: CargoDependency = CargoDependency("approx", CratesIo("0.5.1"), DependencyScope.Dev)
val AsyncStd: CargoDependency = CargoDependency("async-std", CratesIo("1.12.0"), DependencyScope.Dev)
val AsyncStream: CargoDependency = CargoDependency("async-stream", CratesIo("0.3.0"), DependencyScope.Dev)
+ val Ciborium: CargoDependency = CargoDependency("ciborium", CratesIo("0.2"), DependencyScope.Dev)
val Criterion: CargoDependency = CargoDependency("criterion", CratesIo("0.5.0"), DependencyScope.Dev)
val FuturesCore: CargoDependency = CargoDependency("futures-core", CratesIo("0.3.25"), DependencyScope.Dev)
val FuturesUtil: CargoDependency =
@@ -307,7 +308,7 @@ data class CargoDependency(
val Hound: CargoDependency = CargoDependency("hound", CratesIo("3.4.0"), DependencyScope.Dev)
val PrettyAssertions: CargoDependency =
CargoDependency("pretty_assertions", CratesIo("1.3.0"), DependencyScope.Dev)
- val Ciborium: CargoDependency = CargoDependency("ciborium", CratesIo("0.2"), DependencyScope.Dev)
+ val Proptest: CargoDependency = CargoDependency("proptest", CratesIo("1"), DependencyScope.Dev)
val SerdeJson: CargoDependency = CargoDependency("serde_json", CratesIo("1.0.0"), DependencyScope.Dev)
val Smol: CargoDependency = CargoDependency("smol", CratesIo("1.2.0"), DependencyScope.Dev)
val TempFile: CargoDependency = CargoDependency("tempfile", CratesIo("3.2.0"), DependencyScope.Dev)
diff --git a/rust-runtime/Cargo.lock b/rust-runtime/Cargo.lock
index 4be113b0b..0f9f694c4 100644
--- a/rust-runtime/Cargo.lock
+++ b/rust-runtime/Cargo.lock
@@ -17,18 +17,6 @@ version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
-[[package]]
-name = "ahash"
-version = "0.8.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
-dependencies = [
- "cfg-if",
- "once_cell",
- "version_check",
- "zerocopy",
-]
-
[[package]]
name = "aho-corasick"
version = "1.1.3"
@@ -52,9 +40,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
[[package]]
name = "anstyle"
-version = "1.0.8"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
+checksum = "8365de52b16c035ff4fcafe0092ba9390540e3e352870ac09933bebcaa2c8c56"
[[package]]
name = "approx"
@@ -112,7 +100,7 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -145,8 +133,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60e8f6b615cb5fc60a98132268508ad104310f0cfb25a1c22eee76efdf9154da"
dependencies = [
"aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-runtime-api 1.7.2",
+ "aws-smithy-types 1.2.8",
"zeroize",
]
@@ -204,9 +192,9 @@ dependencies = [
"aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime 1.7.2",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-runtime 1.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-runtime-api 1.7.2",
+ "aws-smithy-types 1.2.8",
"aws-types",
"bytes",
"fastrand",
@@ -221,22 +209,21 @@ dependencies = [
[[package]]
name = "aws-sdk-s3"
-version = "1.57.0"
+version = "1.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8888c238bf93c77c5df8274b3999fd7fc1bb3fb658616f40dfde9e4fcd9efd94"
+checksum = "0656a79cf5e6ab0d4bb2465cd750a7a2fd7ea26c062183ed94225f5782e22365"
dependencies = [
- "ahash",
"aws-credential-types",
"aws-runtime",
"aws-sigv4",
"aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-checksums 0.60.12",
+ "aws-smithy-checksums 0.60.13 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-json 0.60.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime 1.7.2",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-runtime 1.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-runtime-api 1.7.2",
+ "aws-smithy-types 1.2.8",
"aws-smithy-xml 0.60.9 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-types",
"bytes",
@@ -256,15 +243,15 @@ dependencies = [
[[package]]
name = "aws-sigv4"
-version = "1.2.4"
+version = "1.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc8db6904450bafe7473c6ca9123f88cc11089e41a025408f992db4e22d3be68"
+checksum = "5619742a0d8f253be760bfbb8e8e8368c69e3587e4637af5754e488a611499b1"
dependencies = [
"aws-credential-types",
"aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-runtime-api 1.7.2",
+ "aws-smithy-types 1.2.8",
"bytes",
"crypto-bigint 0.5.5",
"form_urlencoded",
@@ -307,22 +294,21 @@ dependencies = [
[[package]]
name = "aws-smithy-cbor"
-version = "0.60.7"
+version = "0.60.8"
dependencies = [
- "aws-smithy-types 1.2.8",
+ "aws-smithy-types 1.2.9",
"criterion",
"minicbor",
]
[[package]]
name = "aws-smithy-checksums"
-version = "0.60.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "598b1689d001c4d4dc3cb386adb07d37786783aee3ac4b324bcadac116bf3d23"
+version = "0.60.13"
dependencies = [
- "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-http 0.60.11",
+ "aws-smithy-types 1.2.9",
"bytes",
+ "bytes-utils",
"crc32c",
"crc32fast",
"hex",
@@ -330,19 +316,23 @@ dependencies = [
"http-body 0.4.6",
"md-5",
"pin-project-lite",
+ "pretty_assertions",
"sha1",
"sha2",
+ "tokio",
"tracing",
+ "tracing-test",
]
[[package]]
name = "aws-smithy-checksums"
version = "0.60.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba1a71073fca26775c8b5189175ea8863afb1c9ea2cceb02a5de5ad9dfbaa795"
dependencies = [
- "aws-smithy-http 0.60.11",
+ "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-types 1.2.8",
"bytes",
- "bytes-utils",
"crc32c",
"crc32fast",
"hex",
@@ -350,12 +340,9 @@ dependencies = [
"http-body 0.4.6",
"md-5",
"pin-project-lite",
- "pretty_assertions",
"sha1",
"sha2",
- "tokio",
"tracing",
- "tracing-test",
]
[[package]]
@@ -366,8 +353,8 @@ version = "0.60.3"
name = "aws-smithy-compression"
version = "0.0.2"
dependencies = [
- "aws-smithy-runtime-api 1.7.2",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-runtime-api 1.7.3",
+ "aws-smithy-types 1.2.9",
"bytes",
"bytes-utils",
"flate2",
@@ -388,7 +375,7 @@ name = "aws-smithy-eventstream"
version = "0.60.5"
dependencies = [
"arbitrary",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-types 1.2.9",
"bytes",
"bytes-utils",
"crc32fast",
@@ -401,19 +388,19 @@ version = "0.60.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cef7d0a272725f87e51ba2bf89f8c21e4df61b9e49ae1ac367a6d69916ef7c90"
dependencies = [
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8",
"bytes",
"crc32fast",
]
[[package]]
name = "aws-smithy-experimental"
-version = "0.1.4"
+version = "0.1.5"
dependencies = [
"aws-smithy-async 1.2.1",
"aws-smithy-runtime 1.7.3",
- "aws-smithy-runtime-api 1.7.2",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-runtime-api 1.7.3",
+ "aws-smithy-types 1.2.9",
"h2 0.4.6",
"http 1.1.0",
"hyper 1.5.0",
@@ -421,7 +408,7 @@ dependencies = [
"hyper-util",
"once_cell",
"pin-project-lite",
- "rustls 0.23.15",
+ "rustls 0.23.16",
"tokio",
"tower",
"tracing",
@@ -433,8 +420,8 @@ version = "0.60.11"
dependencies = [
"async-stream",
"aws-smithy-eventstream 0.60.5",
- "aws-smithy-runtime-api 1.7.2",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-runtime-api 1.7.3",
+ "aws-smithy-types 1.2.9",
"bytes",
"bytes-utils",
"futures-core",
@@ -458,8 +445,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c8bc3e8fdc6b8d07d976e301c02fe553f72a39b7a9fea820e023268467d7ab6"
dependencies = [
"aws-smithy-eventstream 0.60.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-runtime-api 1.7.2",
+ "aws-smithy-types 1.2.8",
"bytes",
"bytes-utils",
"futures-core",
@@ -483,8 +470,8 @@ dependencies = [
"aws-smithy-cbor",
"aws-smithy-http 0.60.11",
"aws-smithy-json 0.60.7",
- "aws-smithy-runtime-api 1.7.2",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-runtime-api 1.7.3",
+ "aws-smithy-types 1.2.9",
"aws-smithy-xml 0.60.9",
"bytes",
"futures-util",
@@ -514,7 +501,7 @@ dependencies = [
"aws-smithy-http 0.60.11",
"aws-smithy-http-server",
"aws-smithy-json 0.60.7",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-types 1.2.9",
"aws-smithy-xml 0.60.9",
"bytes",
"futures",
@@ -554,7 +541,7 @@ version = "0.60.3"
name = "aws-smithy-json"
version = "0.60.7"
dependencies = [
- "aws-smithy-types 1.2.8",
+ "aws-smithy-types 1.2.9",
"proptest",
"serde_json",
]
@@ -565,7 +552,7 @@ version = "0.60.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4683df9469ef09468dad3473d129960119a0d3593617542b7d52086c8486f2d6"
dependencies = [
- "aws-smithy-types 1.2.7",
+ "aws-smithy-types 1.2.8",
]
[[package]]
@@ -573,8 +560,8 @@ name = "aws-smithy-mocks-experimental"
version = "0.2.1"
dependencies = [
"aws-sdk-s3",
- "aws-smithy-runtime-api 1.7.2",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-runtime-api 1.7.3",
+ "aws-smithy-types 1.2.9",
"tokio",
]
@@ -583,7 +570,7 @@ name = "aws-smithy-protocol-test"
version = "0.63.0"
dependencies = [
"assert-json-diff",
- "aws-smithy-runtime-api 1.7.2",
+ "aws-smithy-runtime-api 1.7.3",
"base64-simd",
"cbor-diag",
"ciborium",
@@ -602,7 +589,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b92b62199921f10685c6b588fdbeb81168ae4e7950ae3e5f50145a01bb5f1ad"
dependencies = [
"assert-json-diff",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-runtime-api 1.7.2",
"base64-simd",
"cbor-diag",
"ciborium",
@@ -618,25 +605,26 @@ dependencies = [
name = "aws-smithy-query"
version = "0.60.7"
dependencies = [
- "aws-smithy-types 1.2.8",
+ "aws-smithy-types 1.2.9",
"urlencoding",
]
[[package]]
name = "aws-smithy-runtime"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a065c0fe6fdbdf9f11817eb68582b2ab4aff9e9c39e986ae48f7ec576c6322db"
+version = "1.7.3"
dependencies = [
- "aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-protocol-test 0.63.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "approx",
+ "aws-smithy-async 1.2.1",
+ "aws-smithy-http 0.60.11",
+ "aws-smithy-protocol-test 0.63.0",
+ "aws-smithy-runtime-api 1.7.3",
+ "aws-smithy-types 1.2.9",
"bytes",
"fastrand",
+ "futures-util",
"h2 0.3.26",
"http 0.2.12",
+ "http 1.1.0",
"http-body 0.4.6",
"http-body 1.0.1",
"httparse",
@@ -646,30 +634,31 @@ dependencies = [
"once_cell",
"pin-project-lite",
"pin-utils",
+ "pretty_assertions",
"rustls 0.21.12",
"serde",
"serde_json",
"tokio",
"tracing",
"tracing-subscriber",
+ "tracing-test",
]
[[package]]
name = "aws-smithy-runtime"
version = "1.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be28bd063fa91fd871d131fc8b68d7cd4c5fa0869bea68daca50dcb1cbd76be2"
dependencies = [
- "approx",
- "aws-smithy-async 1.2.1",
- "aws-smithy-http 0.60.11",
- "aws-smithy-protocol-test 0.63.0",
+ "aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-http 0.60.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "aws-smithy-protocol-test 0.63.0 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-runtime-api 1.7.2",
"aws-smithy-types 1.2.8",
"bytes",
"fastrand",
- "futures-util",
"h2 0.3.26",
"http 0.2.12",
- "http 1.1.0",
"http-body 0.4.6",
"http-body 1.0.1",
"httparse",
@@ -679,27 +668,26 @@ dependencies = [
"once_cell",
"pin-project-lite",
"pin-utils",
- "pretty_assertions",
"rustls 0.21.12",
"serde",
"serde_json",
"tokio",
"tracing",
"tracing-subscriber",
- "tracing-test",
]
[[package]]
name = "aws-smithy-runtime-api"
version = "1.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e086682a53d3aa241192aa110fa8dfce98f2f5ac2ead0de84d41582c7e8fdb96"
dependencies = [
- "aws-smithy-async 1.2.1",
+ "aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"aws-smithy-types 1.2.8",
"bytes",
"http 0.2.12",
"http 1.1.0",
"pin-project-lite",
- "proptest",
"tokio",
"tracing",
"zeroize",
@@ -707,16 +695,15 @@ dependencies = [
[[package]]
name = "aws-smithy-runtime-api"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e086682a53d3aa241192aa110fa8dfce98f2f5ac2ead0de84d41582c7e8fdb96"
+version = "1.7.3"
dependencies = [
- "aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-async 1.2.1",
+ "aws-smithy-types 1.2.9",
"bytes",
"http 0.2.12",
"http 1.1.0",
"pin-project-lite",
+ "proptest",
"tokio",
"tracing",
"zeroize",
@@ -724,9 +711,9 @@ dependencies = [
[[package]]
name = "aws-smithy-types"
-version = "1.2.7"
+version = "1.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "147100a7bea70fa20ef224a6bad700358305f5dc0f84649c53769761395b355b"
+checksum = "07c9cdc179e6afbf5d391ab08c85eac817b51c87e1892a5edb5f7bbdc64314b4"
dependencies = [
"base64-simd",
"bytes",
@@ -750,7 +737,7 @@ dependencies = [
[[package]]
name = "aws-smithy-types"
-version = "1.2.8"
+version = "1.2.9"
dependencies = [
"base64 0.13.1",
"base64-simd",
@@ -787,7 +774,7 @@ name = "aws-smithy-types-convert"
version = "0.60.8"
dependencies = [
"aws-smithy-async 1.2.1",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-types 1.2.9",
"chrono",
"futures-core",
"time",
@@ -798,8 +785,8 @@ name = "aws-smithy-wasm"
version = "0.1.3"
dependencies = [
"aws-smithy-http 0.60.11",
- "aws-smithy-runtime-api 1.7.2",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-runtime-api 1.7.3",
+ "aws-smithy-types 1.2.9",
"bytes",
"http 1.1.0",
"tracing",
@@ -833,8 +820,8 @@ checksum = "5221b91b3e441e6675310829fd8984801b772cb1546ef6c0e54dec9f1ac13fef"
dependencies = [
"aws-credential-types",
"aws-smithy-async 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-runtime-api 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "aws-smithy-types 1.2.7",
+ "aws-smithy-runtime-api 1.7.2",
+ "aws-smithy-types 1.2.8",
"rustc_version",
"tracing",
]
@@ -929,7 +916,7 @@ dependencies = [
"regex",
"rustc-hash",
"shlex",
- "syn 2.0.82",
+ "syn 2.0.85",
"which",
]
@@ -1364,7 +1351,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1430,9 +1417,9 @@ dependencies = [
[[package]]
name = "encoding_rs"
-version = "0.8.34"
+version = "0.8.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59"
+checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
dependencies = [
"cfg-if",
]
@@ -1580,7 +1567,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -1921,7 +1908,7 @@ dependencies = [
"http 1.1.0",
"hyper 1.5.0",
"hyper-util",
- "rustls 0.23.15",
+ "rustls 0.23.16",
"rustls-native-certs 0.8.0",
"rustls-pki-types",
"tokio",
@@ -1931,9 +1918,9 @@ dependencies = [
[[package]]
name = "hyper-util"
-version = "0.1.9"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b"
+checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
dependencies = [
"bytes",
"futures-channel",
@@ -1994,8 +1981,8 @@ dependencies = [
"aws-smithy-http 0.60.11",
"aws-smithy-json 0.60.7",
"aws-smithy-runtime 1.7.3",
- "aws-smithy-runtime-api 1.7.2",
- "aws-smithy-types 1.2.8",
+ "aws-smithy-runtime-api 1.7.3",
+ "aws-smithy-types 1.2.9",
"aws-smithy-xml 0.60.9",
"bytes",
"fastrand",
@@ -2162,9 +2149,9 @@ dependencies = [
[[package]]
name = "libm"
-version = "0.2.8"
+version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
+checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"
[[package]]
name = "linux-raw-sys"
@@ -2255,7 +2242,7 @@ checksum = "bd2209fff77f705b00c737016a48e73733d7fbccb8b007194db148f03561fb70"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -2469,29 +2456,29 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "pin-project"
-version = "1.1.6"
+version = "1.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf123a161dde1e524adf36f90bc5d8d3462824a9c43553ad07a8183161189ec"
+checksum = "be57f64e946e500c8ee36ef6331845d40a93055567ec57e8fae13efd33759b95"
dependencies = [
"pin-project-internal",
]
[[package]]
name = "pin-project-internal"
-version = "1.1.6"
+version = "1.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4502d8515ca9f32f1fb543d987f63d95a14934883db45bdb48060b6b69257f8"
+checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
name = "pin-project-lite"
-version = "0.2.14"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
+checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
[[package]]
name = "pin-utils"
@@ -2564,12 +2551,12 @@ dependencies = [
[[package]]
name = "prettyplease"
-version = "0.2.24"
+version = "0.2.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "910d41a655dac3b764f1ade94821093d3610248694320cd072303a8eedcf221d"
+checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033"
dependencies = [
"proc-macro2",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -2821,9 +2808,9 @@ dependencies = [
[[package]]
name = "regex"
-version = "1.11.0"
+version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8"
+checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
dependencies = [
"aho-corasick",
"memchr",
@@ -2942,9 +2929,9 @@ dependencies = [
[[package]]
name = "rustix"
-version = "0.38.37"
+version = "0.38.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
+checksum = "aa260229e6538e52293eeb577aabd09945a09d6d9cc0fc550ed7529056c2e32a"
dependencies = [
"bitflags 2.6.0",
"errno",
@@ -2967,9 +2954,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.15"
+version = "0.23.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fbb44d7acc4e873d613422379f69f237a1b141928c02f6bc6ccfddddc2d7993"
+checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e"
dependencies = [
"aws-lc-rs",
"once_cell",
@@ -3154,22 +3141,22 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5"
[[package]]
name = "serde"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1"
+checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.213"
+version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5"
+checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -3346,9 +3333,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.82"
+version = "2.0.85"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021"
+checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
dependencies = [
"proc-macro2",
"quote",
@@ -3406,7 +3393,7 @@ checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -3515,7 +3502,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -3534,7 +3521,7 @@ version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
dependencies = [
- "rustls 0.23.15",
+ "rustls 0.23.16",
"rustls-pki-types",
"tokio",
]
@@ -3668,7 +3655,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -3741,7 +3728,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04659ddb06c87d233c566112c1c9c5b9e98256d9af50ec3bc9c8327f873a7568"
dependencies = [
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
@@ -3911,7 +3898,7 @@ dependencies = [
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
"wasm-bindgen-shared",
]
@@ -3933,7 +3920,7 @@ checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -4127,7 +4114,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.82",
+ "syn 2.0.85",
]
[[package]]
diff --git a/rust-runtime/aws-smithy-cbor/Cargo.toml b/rust-runtime/aws-smithy-cbor/Cargo.toml
index 123e506b5..1225e10ff 100644
--- a/rust-runtime/aws-smithy-cbor/Cargo.toml
+++ b/rust-runtime/aws-smithy-cbor/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "aws-smithy-cbor"
-version = "0.60.7"
+version = "0.60.8"
authors = [
"AWS Rust SDK Team ",
"David Pérez ",
diff --git a/rust-runtime/aws-smithy-cbor/src/decode.rs b/rust-runtime/aws-smithy-cbor/src/decode.rs
index ca71cdd25..29ba86bc5 100644
--- a/rust-runtime/aws-smithy-cbor/src/decode.rs
+++ b/rust-runtime/aws-smithy-cbor/src/decode.rs
@@ -247,6 +247,7 @@ impl<'b> Decoder<'b> {
}
}
+#[allow(dead_code)] // to avoid `never constructed` warning
#[derive(Debug)]
pub struct ArrayIter<'a, 'b, T> {
inner: minicbor::decode::ArrayIter<'a, 'b, T>,
@@ -262,6 +263,7 @@ impl<'a, 'b, T: minicbor::Decode<'b, ()>> Iterator for ArrayIter<'a, 'b, T> {
}
}
+#[allow(dead_code)] // to avoid `never constructed` warning
#[derive(Debug)]
pub struct MapIter<'a, 'b, K, V> {
inner: minicbor::decode::MapIter<'a, 'b, K, V>,
diff --git a/rust-runtime/aws-smithy-experimental/Cargo.toml b/rust-runtime/aws-smithy-experimental/Cargo.toml
index 03a12fc9b..21e30de1a 100644
--- a/rust-runtime/aws-smithy-experimental/Cargo.toml
+++ b/rust-runtime/aws-smithy-experimental/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "aws-smithy-experimental"
-version = "0.1.4"
+version = "0.1.5"
authors = ["AWS Rust SDK Team "]
description = "Experiments for the smithy-rs ecosystem"
edition = "2021"
@@ -59,3 +59,6 @@ rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.cargo-udeps.ignore]
# used only in doc strings
normal = ["fs_extra"]
+
+[lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(crypto_unstable)'] }
diff --git a/rust-runtime/aws-smithy-runtime-api/Cargo.toml b/rust-runtime/aws-smithy-runtime-api/Cargo.toml
index 45f8df686..b43ba312f 100644
--- a/rust-runtime/aws-smithy-runtime-api/Cargo.toml
+++ b/rust-runtime/aws-smithy-runtime-api/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "aws-smithy-runtime-api"
-version = "1.7.2"
+version = "1.7.3"
authors = ["AWS Rust SDK Team ", "Zelda Hessler "]
description = "Smithy runtime types."
edition = "2021"
diff --git a/rust-runtime/aws-smithy-runtime-api/src/client/runtime_components.rs b/rust-runtime/aws-smithy-runtime-api/src/client/runtime_components.rs
index 4ee81363f..3e8959fb3 100644
--- a/rust-runtime/aws-smithy-runtime-api/src/client/runtime_components.rs
+++ b/rust-runtime/aws-smithy-runtime-api/src/client/runtime_components.rs
@@ -868,6 +868,7 @@ impl RuntimeComponentsBuilder {
pub fn validate_base_client_config(&self, cfg: &ConfigBag) -> Result<(), BoxError> {
macro_rules! validate {
($field:expr) => {
+ #[allow(for_loops_over_fallibles)]
for entry in $field {
ValidateConfig::validate_base_client_config(&entry.value, self, cfg)?;
}
diff --git a/rust-runtime/aws-smithy-types/Cargo.toml b/rust-runtime/aws-smithy-types/Cargo.toml
index 3fd9186d0..bf038a646 100644
--- a/rust-runtime/aws-smithy-types/Cargo.toml
+++ b/rust-runtime/aws-smithy-types/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "aws-smithy-types"
-version = "1.2.8"
+version = "1.2.9"
authors = [
"AWS Rust SDK Team ",
"Russell Cohen ",
@@ -93,3 +93,6 @@ harness = false
[target."cfg(aws_sdk_unstable)".dependencies.serde]
version = "1"
features = ["derive"]
+
+[lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(aws_sdk_unstable)'] }
diff --git a/rust-runtime/inlineable/src/endpoint_lib/substring.rs b/rust-runtime/inlineable/src/endpoint_lib/substring.rs
index 2082a2c7f..edf61f71d 100644
--- a/rust-runtime/inlineable/src/endpoint_lib/substring.rs
+++ b/rust-runtime/inlineable/src/endpoint_lib/substring.rs
@@ -61,6 +61,8 @@ mod test {
None
);
}
+
+ #[test]
fn substring_backwards() {
assert_eq!(
substring("hello", 0, 2, true, &mut DiagnosticCollector::new()),
diff --git a/tools/ci-build/Dockerfile b/tools/ci-build/Dockerfile
index 86e3e1a8d..ff6b1a958 100644
--- a/tools/ci-build/Dockerfile
+++ b/tools/ci-build/Dockerfile
@@ -7,7 +7,7 @@
ARG base_image=public.ecr.aws/amazonlinux/amazonlinux:2023
ARG rust_stable_version=1.78.0
-ARG rust_nightly_version=nightly-2024-03-15
+ARG rust_nightly_version=nightly-2024-06-30
FROM ${base_image} AS bare_base_image
RUN yum -y updateinfo
@@ -97,7 +97,7 @@ ARG cargo_deny_version=0.16.1
RUN cargo install cargo-deny --locked --version ${cargo_deny_version}
FROM install_rust AS cargo_udeps
-ARG cargo_udeps_version=0.1.47
+ARG cargo_udeps_version=0.1.52
ARG rust_nightly_version
RUN cargo +${rust_nightly_version} install cargo-udeps --locked --version ${cargo_udeps_version}
@@ -110,7 +110,7 @@ ARG cargo_minimal_versions_version=0.1.27
RUN cargo install cargo-minimal-versions --locked --version ${cargo_minimal_versions_version}
FROM install_rust AS cargo_check_external_types
-ARG cargo_check_external_types_version=0.1.11
+ARG cargo_check_external_types_version=0.1.13
RUN cargo install cargo-check-external-types --locked --version ${cargo_check_external_types_version}
FROM install_rust AS maturin
--
GitLab