diff --git a/aws/rust-runtime/aws-config/Cargo.toml b/aws/rust-runtime/aws-config/Cargo.toml index 4de94928927c911b6e05191f3c2e8123fc8bb896..e2de36bd573fa6d3faa033e7bca31c1cba233880 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.6.2" +version = "1.6.3" authors = [ "AWS Rust SDK Team ", "Russell Cohen ", diff --git a/aws/rust-runtime/aws-config/src/meta/credentials/chain.rs b/aws/rust-runtime/aws-config/src/meta/credentials/chain.rs index 822f5e0a4893cc3c5d8c47d6c6154dbe4aa05db1..b09874c6a27d4db35c445a2f24d418d62786bad4 100644 --- a/aws/rust-runtime/aws-config/src/meta/credentials/chain.rs +++ b/aws/rust-runtime/aws-config/src/meta/credentials/chain.rs @@ -123,9 +123,8 @@ impl ProvideCredentials for CredentialsProviderChain { fn fallback_on_interrupt(&self) -> Option { for (_, provider) in &self.providers { - match provider.fallback_on_interrupt() { - creds @ Some(_) => return creds, - None => {} + if let creds @ Some(_) = provider.fallback_on_interrupt() { + return creds; } } None diff --git a/aws/rust-runtime/aws-sigv4/Cargo.toml b/aws/rust-runtime/aws-sigv4/Cargo.toml index fcf647ea26736dd06d5ec44bbf30240a199f0243..235124a28dff5cad1d412b67caaf3a8dd052de12 100644 --- a/aws/rust-runtime/aws-sigv4/Cargo.toml +++ b/aws/rust-runtime/aws-sigv4/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-sigv4" -version = "1.3.1" +version = "1.3.2" authors = ["AWS Rust SDK Team ", "David Barsky "] description = "SigV4 signer for HTTP requests and Event Stream messages." edition = "2021" diff --git a/aws/rust-runtime/aws-sigv4/src/http_request/canonical_request.rs b/aws/rust-runtime/aws-sigv4/src/http_request/canonical_request.rs index f1a00d3bae7858f2bd21f21d191ecc82f6db0210..fcd1b0b8b53307bde33f96e4f905c76b4b078574 100644 --- a/aws/rust-runtime/aws-sigv4/src/http_request/canonical_request.rs +++ b/aws/rust-runtime/aws-sigv4/src/http_request/canonical_request.rs @@ -101,6 +101,13 @@ impl<'a> SignatureValues<'a> { } } + #[allow(clippy::result_large_err)] + /* + QueryParams(QueryParamValues<'a>), + --------------------------------- the largest variant contains at least 192 bytes + + Suppressing the Clippy warning, as the variant above is always returned wrapped in `Ok`. + */ pub(crate) fn into_query_params(self) -> Result, Self> { match self { SignatureValues::QueryParams(values) => Ok(values), diff --git a/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/customizations/AllowLintsCustomization.kt b/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/customizations/AllowLintsCustomization.kt index 8c9f7aeebf62496a8f1dccc78e52a2fda45f24ab..e87e15ef3346855274ec9a7919b86cb21117fb8b 100644 --- a/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/customizations/AllowLintsCustomization.kt +++ b/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/customizations/AllowLintsCustomization.kt @@ -57,6 +57,10 @@ private val allowedRustdocLints = // Rustdoc warns about redundant explicit links in doc comments. This is fine for handwritten // crates, but is impractical to manage for code generated crates. Thus, allow it. "redundant_explicit_links", + // The documentation directly from the model may contain invalid HTML tags. For instance, + //

+ // is considered an invalid self-closing HTML tag `bucketloggingstatus` + "invalid_html_tags", ) class AllowLintsCustomization(