diff --git a/aws/rust-runtime/aws-config/Cargo.toml b/aws/rust-runtime/aws-config/Cargo.toml index a689efb4dd4..cdbc51bdfb2 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.8.7" +version = "1.8.8" 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 6174677aa81..d6763312c92 100644 --- a/aws/rust-runtime/aws-config/src/lib.rs +++ b/aws/rust-runtime/aws-config/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] #![warn( diff --git a/aws/rust-runtime/aws-credential-types/Cargo.toml b/aws/rust-runtime/aws-credential-types/Cargo.toml index 819492a536f..3a2a221cb55 100644 --- a/aws/rust-runtime/aws-credential-types/Cargo.toml +++ b/aws/rust-runtime/aws-credential-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-credential-types" -version = "1.2.7" +version = "1.2.8" authors = ["AWS Rust SDK Team "] description = "Types for AWS SDK credentials." edition = "2021" diff --git a/aws/rust-runtime/aws-credential-types/src/lib.rs b/aws/rust-runtime/aws-credential-types/src/lib.rs index 8e3ec2a754b..c3bdee15689 100644 --- a/aws/rust-runtime/aws-credential-types/src/lib.rs +++ b/aws/rust-runtime/aws-credential-types/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! `aws-credential-types` provides types concerned with AWS SDK credentials including: //! * Traits for credentials providers and for credentials caching diff --git a/aws/rust-runtime/aws-inlineable/src/lib.rs b/aws/rust-runtime/aws-inlineable/src/lib.rs index d7b32b880c6..039dccdfa5d 100644 --- a/aws/rust-runtime/aws-inlineable/src/lib.rs +++ b/aws/rust-runtime/aws-inlineable/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! Collection of modules that get conditionally included directly into the code generated //! SDK service crates. For example, when generating S3, the `s3_errors` module will get copied diff --git a/aws/rust-runtime/aws-runtime-api/Cargo.toml b/aws/rust-runtime/aws-runtime-api/Cargo.toml index 1729924be03..6404a5283ee 100644 --- a/aws/rust-runtime/aws-runtime-api/Cargo.toml +++ b/aws/rust-runtime/aws-runtime-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-runtime-api" -version = "1.1.8" +version = "1.1.9" authors = ["AWS Rust SDK Team "] description = "Runtime support code for the AWS SDK. This isn't intended to be used directly." edition = "2021" diff --git a/aws/rust-runtime/aws-runtime-api/src/lib.rs b/aws/rust-runtime/aws-runtime-api/src/lib.rs index 899829fca1d..148fcec31f2 100644 --- a/aws/rust-runtime/aws-runtime-api/src/lib.rs +++ b/aws/rust-runtime/aws-runtime-api/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! Runtime support code for the AWS SDK. This crate isn't intended to be used directly. diff --git a/aws/rust-runtime/aws-runtime/Cargo.toml b/aws/rust-runtime/aws-runtime/Cargo.toml index 9ee6c436e69..2928bb0d6f7 100644 --- a/aws/rust-runtime/aws-runtime/Cargo.toml +++ b/aws/rust-runtime/aws-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-runtime" -version = "1.5.11" +version = "1.5.12" authors = ["AWS Rust SDK Team "] description = "Runtime support code for the AWS SDK. This crate isn't intended to be used directly." edition = "2021" diff --git a/aws/rust-runtime/aws-runtime/src/lib.rs b/aws/rust-runtime/aws-runtime/src/lib.rs index a657a575c2b..702b2ee61d5 100644 --- a/aws/rust-runtime/aws-runtime/src/lib.rs +++ b/aws/rust-runtime/aws-runtime/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! Runtime support code for the AWS SDK. This crate isn't intended to be used directly. diff --git a/aws/rust-runtime/aws-sigv4/Cargo.toml b/aws/rust-runtime/aws-sigv4/Cargo.toml index e7b1d0dd0b3..8bb8ed2722a 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.4" +version = "1.3.5" 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/lib.rs b/aws/rust-runtime/aws-sigv4/src/lib.rs index a9f60afba8d..24b863b69d4 100644 --- a/aws/rust-runtime/aws-sigv4/src/lib.rs +++ b/aws/rust-runtime/aws-sigv4/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! Provides functions for calculating Sigv4 signing keys, signatures, and //! optional utilities for signing HTTP requests and Event Stream messages. diff --git a/aws/rust-runtime/aws-types/Cargo.toml b/aws/rust-runtime/aws-types/Cargo.toml index 9df9c7939e8..9d00305889a 100644 --- a/aws/rust-runtime/aws-types/Cargo.toml +++ b/aws/rust-runtime/aws-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-types" -version = "1.3.8" +version = "1.3.9" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "Cross-service types for the AWS SDK." edition = "2021" diff --git a/aws/rust-runtime/aws-types/src/lib.rs b/aws/rust-runtime/aws-types/src/lib.rs index 6b6d62a474c..30bd9a529b6 100644 --- a/aws/rust-runtime/aws-types/src/lib.rs +++ b/aws/rust-runtime/aws-types/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! Cross-service types for the AWS SDK. diff --git a/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/LibRsGenerator.kt b/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/LibRsGenerator.kt index 24beaa51d80..11185d48d12 100644 --- a/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/LibRsGenerator.kt +++ b/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/LibRsGenerator.kt @@ -55,7 +55,7 @@ class LibRsGenerator( if (requireDocs) { rust("##![warn(missing_docs)]") } - rawRust("#![cfg_attr(docsrs, feature(doc_auto_cfg))]") + rawRust("#![cfg_attr(docsrs, feature(doc_cfg))]") // Allow for overriding the default service docs via customization val defaultServiceDocs = settings.getService(model).getTrait()?.value diff --git a/rust-runtime/Cargo.lock b/rust-runtime/Cargo.lock index 188fe9a4dee..25c4ff00f56 100644 --- a/rust-runtime/Cargo.lock +++ b/rust-runtime/Cargo.lock @@ -315,7 +315,7 @@ dependencies = [ [[package]] name = "aws-smithy-async" -version = "1.2.5" +version = "1.2.6" dependencies = [ "futures-util", "pin-project-lite", @@ -326,7 +326,7 @@ dependencies = [ [[package]] name = "aws-smithy-cbor" -version = "0.61.1" +version = "0.61.2" dependencies = [ "aws-smithy-types", "criterion", @@ -335,7 +335,7 @@ dependencies = [ [[package]] name = "aws-smithy-checksums" -version = "0.63.8" +version = "0.63.9" dependencies = [ "aws-smithy-http", "aws-smithy-types", @@ -357,7 +357,7 @@ dependencies = [ [[package]] name = "aws-smithy-compression" -version = "0.0.4" +version = "0.0.5" dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", @@ -378,7 +378,7 @@ dependencies = [ [[package]] name = "aws-smithy-dns" -version = "0.1.2" +version = "0.1.3" dependencies = [ "aws-smithy-runtime-api", "criterion", @@ -388,7 +388,7 @@ dependencies = [ [[package]] name = "aws-smithy-eventstream" -version = "0.60.11" +version = "0.60.12" dependencies = [ "arbitrary", "aws-smithy-types", @@ -403,11 +403,11 @@ dependencies = [ [[package]] name = "aws-smithy-experimental" -version = "0.2.0" +version = "0.2.1" [[package]] name = "aws-smithy-http" -version = "0.62.3" +version = "0.62.4" dependencies = [ "async-stream", "aws-smithy-eventstream", @@ -431,7 +431,7 @@ dependencies = [ [[package]] name = "aws-smithy-http-client" -version = "1.1.2" +version = "1.1.3" dependencies = [ "aws-smithy-async", "aws-smithy-protocol-test", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "aws-smithy-http-server" -version = "0.65.6" +version = "0.65.7" dependencies = [ "aws-smithy-cbor", "aws-smithy-http", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "aws-smithy-http-server-python" -version = "0.66.3" +version = "0.66.4" dependencies = [ "aws-smithy-http", "aws-smithy-http-server", @@ -541,7 +541,7 @@ dependencies = [ [[package]] name = "aws-smithy-json" -version = "0.61.5" +version = "0.61.6" dependencies = [ "aws-smithy-types", "proptest", @@ -550,7 +550,7 @@ dependencies = [ [[package]] name = "aws-smithy-mocks" -version = "0.1.2" +version = "0.1.3" dependencies = [ "aws-smithy-async", "aws-smithy-http-client", @@ -563,7 +563,7 @@ dependencies = [ [[package]] name = "aws-smithy-observability" -version = "0.1.3" +version = "0.1.4" dependencies = [ "aws-smithy-runtime-api", "serial_test", @@ -571,7 +571,7 @@ dependencies = [ [[package]] name = "aws-smithy-observability-otel" -version = "0.1.1" +version = "0.1.2" dependencies = [ "async-global-executor", "async-task", @@ -586,7 +586,7 @@ dependencies = [ [[package]] name = "aws-smithy-protocol-test" -version = "0.63.4" +version = "0.63.5" dependencies = [ "assert-json-diff", "aws-smithy-runtime-api", @@ -603,7 +603,7 @@ dependencies = [ [[package]] name = "aws-smithy-query" -version = "0.60.7" +version = "0.60.8" dependencies = [ "aws-smithy-types", "urlencoding", @@ -611,7 +611,7 @@ dependencies = [ [[package]] name = "aws-smithy-runtime" -version = "1.9.2" +version = "1.9.3" dependencies = [ "approx", "aws-smithy-async", @@ -639,7 +639,7 @@ dependencies = [ [[package]] name = "aws-smithy-runtime-api" -version = "1.9.0" +version = "1.9.1" dependencies = [ "aws-smithy-async", "aws-smithy-types", @@ -655,7 +655,7 @@ dependencies = [ [[package]] name = "aws-smithy-types" -version = "1.3.2" +version = "1.3.3" dependencies = [ "base64 0.13.1", "base64-simd", @@ -689,7 +689,7 @@ dependencies = [ [[package]] name = "aws-smithy-types-convert" -version = "0.60.9" +version = "0.60.10" dependencies = [ "aws-smithy-async", "aws-smithy-types", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "aws-smithy-wasm" -version = "0.1.4" +version = "0.1.5" dependencies = [ "aws-smithy-http", "aws-smithy-runtime-api", @@ -713,7 +713,7 @@ dependencies = [ [[package]] name = "aws-smithy-xml" -version = "0.60.10" +version = "0.60.11" dependencies = [ "aws-smithy-protocol-test", "base64 0.13.1", diff --git a/rust-runtime/aws-smithy-async/Cargo.toml b/rust-runtime/aws-smithy-async/Cargo.toml index c2cde40d505..b89b9b81b46 100644 --- a/rust-runtime/aws-smithy-async/Cargo.toml +++ b/rust-runtime/aws-smithy-async/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-async" -version = "1.2.5" +version = "1.2.6" authors = ["AWS Rust SDK Team ", "John DiSanti "] description = "Async runtime agnostic abstractions for smithy-rs." edition = "2021" diff --git a/rust-runtime/aws-smithy-async/src/lib.rs b/rust-runtime/aws-smithy-async/src/lib.rs index e32464eb7c3..54daded33aa 100644 --- a/rust-runtime/aws-smithy-async/src/lib.rs +++ b/rust-runtime/aws-smithy-async/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] #![warn( diff --git a/rust-runtime/aws-smithy-cbor/Cargo.toml b/rust-runtime/aws-smithy-cbor/Cargo.toml index 5f86a3d6e90..f60be2a228f 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.61.1" +version = "0.61.2" authors = [ "AWS Rust SDK Team ", "David Pérez ", diff --git a/rust-runtime/aws-smithy-cbor/src/lib.rs b/rust-runtime/aws-smithy-cbor/src/lib.rs index 6db4813980a..c1d09115af6 100644 --- a/rust-runtime/aws-smithy-cbor/src/lib.rs +++ b/rust-runtime/aws-smithy-cbor/src/lib.rs @@ -6,7 +6,7 @@ //! CBOR abstractions for Smithy. /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ pub mod data; diff --git a/rust-runtime/aws-smithy-checksums/Cargo.toml b/rust-runtime/aws-smithy-checksums/Cargo.toml index 755ff8f1929..b473e7f66fc 100644 --- a/rust-runtime/aws-smithy-checksums/Cargo.toml +++ b/rust-runtime/aws-smithy-checksums/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-checksums" -version = "0.63.8" +version = "0.63.9" authors = [ "AWS Rust SDK Team ", "Zelda Hessler ", diff --git a/rust-runtime/aws-smithy-checksums/src/lib.rs b/rust-runtime/aws-smithy-checksums/src/lib.rs index 6ba44e767c5..b9b9d4de1e3 100644 --- a/rust-runtime/aws-smithy-checksums/src/lib.rs +++ b/rust-runtime/aws-smithy-checksums/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] #![warn( diff --git a/rust-runtime/aws-smithy-compression/Cargo.toml b/rust-runtime/aws-smithy-compression/Cargo.toml index a070aabe426..37219486f13 100644 --- a/rust-runtime/aws-smithy-compression/Cargo.toml +++ b/rust-runtime/aws-smithy-compression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-compression" -version = "0.0.4" +version = "0.0.5" authors = [ "AWS Rust SDK Team ", "Zelda Hessler ", diff --git a/rust-runtime/aws-smithy-compression/src/lib.rs b/rust-runtime/aws-smithy-compression/src/lib.rs index 88e673761d5..257f546e37a 100644 --- a/rust-runtime/aws-smithy-compression/src/lib.rs +++ b/rust-runtime/aws-smithy-compression/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] #![warn( diff --git a/rust-runtime/aws-smithy-dns/Cargo.toml b/rust-runtime/aws-smithy-dns/Cargo.toml index 5b08bd3de44..84785c28ad1 100644 --- a/rust-runtime/aws-smithy-dns/Cargo.toml +++ b/rust-runtime/aws-smithy-dns/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-dns" -version = "0.1.2" +version = "0.1.3" authors = [ "AWS Rust SDK Team ", ] diff --git a/rust-runtime/aws-smithy-dns/src/lib.rs b/rust-runtime/aws-smithy-dns/src/lib.rs index 9fa315bb639..77f10a0a7d1 100644 --- a/rust-runtime/aws-smithy-dns/src/lib.rs +++ b/rust-runtime/aws-smithy-dns/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! Built-in DNS resolver implementations for smithy-rs clients. diff --git a/rust-runtime/aws-smithy-eventstream/Cargo.toml b/rust-runtime/aws-smithy-eventstream/Cargo.toml index 180fb304ccd..1d11217e6df 100644 --- a/rust-runtime/aws-smithy-eventstream/Cargo.toml +++ b/rust-runtime/aws-smithy-eventstream/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "aws-smithy-eventstream" # Only patch releases can be made to this runtime crate until https://github.com/smithy-lang/smithy-rs/issues/3370 is resolved -version = "0.60.11" +version = "0.60.12" # authors = ["AWS Rust SDK Team ", "John DiSanti "] description = "Event stream logic for smithy-rs." diff --git a/rust-runtime/aws-smithy-eventstream/src/lib.rs b/rust-runtime/aws-smithy-eventstream/src/lib.rs index 73ef6d23e51..e9fa64145e0 100644 --- a/rust-runtime/aws-smithy-eventstream/src/lib.rs +++ b/rust-runtime/aws-smithy-eventstream/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] #![warn( diff --git a/rust-runtime/aws-smithy-experimental/Cargo.toml b/rust-runtime/aws-smithy-experimental/Cargo.toml index 4d3a891e4fe..69e5c9feec8 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.2.0" +version = "0.2.1" authors = ["AWS Rust SDK Team "] description = "Experiments for the smithy-rs ecosystem" edition = "2021" diff --git a/rust-runtime/aws-smithy-experimental/src/lib.rs b/rust-runtime/aws-smithy-experimental/src/lib.rs index fe8cdbda86a..2748147f840 100644 --- a/rust-runtime/aws-smithy-experimental/src/lib.rs +++ b/rust-runtime/aws-smithy-experimental/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #[deprecated( diff --git a/rust-runtime/aws-smithy-fuzz/Cargo.toml b/rust-runtime/aws-smithy-fuzz/Cargo.toml index faec250e611..b6272008c22 100644 --- a/rust-runtime/aws-smithy-fuzz/Cargo.toml +++ b/rust-runtime/aws-smithy-fuzz/Cargo.toml @@ -1,7 +1,7 @@ [workspace] [package] name = "aws-smithy-fuzz" -version = "0.1.0" +version = "0.1.1" authors = ["AWS Rust SDK Team "] description = "Fuzzing utilities for smithy-rs servers" edition = "2021" diff --git a/rust-runtime/aws-smithy-fuzz/src/lib.rs b/rust-runtime/aws-smithy-fuzz/src/lib.rs index 4f1287df75d..d57a02d2e20 100644 --- a/rust-runtime/aws-smithy-fuzz/src/lib.rs +++ b/rust-runtime/aws-smithy-fuzz/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![cfg(not(windows))] use libloading::{os, Library, Symbol}; diff --git a/rust-runtime/aws-smithy-http-client/Cargo.toml b/rust-runtime/aws-smithy-http-client/Cargo.toml index 15fcf11debe..7d6119877eb 100644 --- a/rust-runtime/aws-smithy-http-client/Cargo.toml +++ b/rust-runtime/aws-smithy-http-client/Cargo.toml @@ -2,7 +2,7 @@ name = "aws-smithy-http-client" authors = ["AWS Rust SDK Team "] description = "HTTP client abstractions for generated smithy clients" -version = "1.1.2" +version = "1.1.3" license = "Apache-2.0" edition = "2021" repository = "https://github.com/smithy-lang/smithy-rs" diff --git a/rust-runtime/aws-smithy-http-client/src/lib.rs b/rust-runtime/aws-smithy-http-client/src/lib.rs index 802eed7f904..6c14eedd71f 100644 --- a/rust-runtime/aws-smithy-http-client/src/lib.rs +++ b/rust-runtime/aws-smithy-http-client/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! HTTP client implementation for smithy-rs generated code. @@ -25,7 +25,6 @@ unreachable_pub, rust_2018_idioms )] -#![cfg_attr(docsrs, feature(doc_cfg))] // ideally hyper_014 would just be exposed as is but due to // https://github.com/rust-lang/rust/issues/47238 we get clippy warnings we can't suppress diff --git a/rust-runtime/aws-smithy-http-server-python/Cargo.toml b/rust-runtime/aws-smithy-http-server-python/Cargo.toml index 8d5e7a531ae..f270bd24425 100644 --- a/rust-runtime/aws-smithy-http-server-python/Cargo.toml +++ b/rust-runtime/aws-smithy-http-server-python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-http-server-python" -version = "0.66.3" +version = "0.66.4" authors = ["Smithy Rust Server "] edition = "2021" license = "Apache-2.0" diff --git a/rust-runtime/aws-smithy-http-server-python/src/lib.rs b/rust-runtime/aws-smithy-http-server-python/src/lib.rs index d11b5a96224..b0dc2e6edec 100644 --- a/rust-runtime/aws-smithy-http-server-python/src/lib.rs +++ b/rust-runtime/aws-smithy-http-server-python/src/lib.rs @@ -4,10 +4,9 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] -#![cfg_attr(docsrs, feature(doc_cfg))] //! Rust/Python bindings, runtime and utilities. //! diff --git a/rust-runtime/aws-smithy-http-server-typescript/Cargo.toml b/rust-runtime/aws-smithy-http-server-typescript/Cargo.toml index 7a373c42999..16ea6d24738 100644 --- a/rust-runtime/aws-smithy-http-server-typescript/Cargo.toml +++ b/rust-runtime/aws-smithy-http-server-typescript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-http-server-typescript" -version = "0.1.0" +version = "0.1.1" authors = ["Smithy Rust Server "] edition = "2021" license = "Apache-2.0" diff --git a/rust-runtime/aws-smithy-http-server-typescript/src/lib.rs b/rust-runtime/aws-smithy-http-server-typescript/src/lib.rs index 6a0366b7622..86918fb3e1d 100644 --- a/rust-runtime/aws-smithy-http-server-typescript/src/lib.rs +++ b/rust-runtime/aws-smithy-http-server-typescript/src/lib.rs @@ -4,5 +4,5 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ diff --git a/rust-runtime/aws-smithy-http-server/Cargo.toml b/rust-runtime/aws-smithy-http-server/Cargo.toml index af8699aab22..f66359d789e 100644 --- a/rust-runtime/aws-smithy-http-server/Cargo.toml +++ b/rust-runtime/aws-smithy-http-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-http-server" -version = "0.65.6" +version = "0.65.7" authors = ["Smithy Rust Server "] edition = "2021" license = "Apache-2.0" diff --git a/rust-runtime/aws-smithy-http-server/src/lib.rs b/rust-runtime/aws-smithy-http-server/src/lib.rs index 4ad140f2ed6..9893eeee20f 100644 --- a/rust-runtime/aws-smithy-http-server/src/lib.rs +++ b/rust-runtime/aws-smithy-http-server/src/lib.rs @@ -4,10 +4,9 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] -#![cfg_attr(docsrs, feature(doc_cfg))] //! HTTP server runtime and utilities, loosely based on [axum]. //! diff --git a/rust-runtime/aws-smithy-http/Cargo.toml b/rust-runtime/aws-smithy-http/Cargo.toml index ea190797531..12659bb5476 100644 --- a/rust-runtime/aws-smithy-http/Cargo.toml +++ b/rust-runtime/aws-smithy-http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-http" -version = "0.62.3" +version = "0.62.4" authors = [ "AWS Rust SDK Team ", "Russell Cohen ", diff --git a/rust-runtime/aws-smithy-http/src/lib.rs b/rust-runtime/aws-smithy-http/src/lib.rs index 189626205fd..45278996f48 100644 --- a/rust-runtime/aws-smithy-http/src/lib.rs +++ b/rust-runtime/aws-smithy-http/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![warn( missing_docs, @@ -25,7 +25,6 @@ //! | `event-stream` | Provides Sender/Receiver implementations for Event Stream codegen. | #![allow(clippy::derive_partial_eq_without_eq)] -#![cfg_attr(docsrs, feature(doc_cfg))] pub mod endpoint; // Marked as `doc(hidden)` because a type in the module is used both by this crate and by the code diff --git a/rust-runtime/aws-smithy-json/Cargo.toml b/rust-runtime/aws-smithy-json/Cargo.toml index 121def0d453..d92c98ca445 100644 --- a/rust-runtime/aws-smithy-json/Cargo.toml +++ b/rust-runtime/aws-smithy-json/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-json" -version = "0.61.5" +version = "0.61.6" authors = ["AWS Rust SDK Team ", "John DiSanti "] description = "Token streaming JSON parser for smithy-rs." edition = "2021" diff --git a/rust-runtime/aws-smithy-json/src/lib.rs b/rust-runtime/aws-smithy-json/src/lib.rs index 7fc52760427..9a00aeb4634 100644 --- a/rust-runtime/aws-smithy-json/src/lib.rs +++ b/rust-runtime/aws-smithy-json/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] #![warn( diff --git a/rust-runtime/aws-smithy-mocks/Cargo.toml b/rust-runtime/aws-smithy-mocks/Cargo.toml index 3beb460de24..11c73ea4499 100644 --- a/rust-runtime/aws-smithy-mocks/Cargo.toml +++ b/rust-runtime/aws-smithy-mocks/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-mocks" -version = "0.1.2" +version = "0.1.3" authors = ["AWS Rust SDK Team "] description = "Testing utilities for smithy-rs generated clients" edition = "2021" diff --git a/rust-runtime/aws-smithy-mocks/src/lib.rs b/rust-runtime/aws-smithy-mocks/src/lib.rs index eac760cddf0..516f0467725 100644 --- a/rust-runtime/aws-smithy-mocks/src/lib.rs +++ b/rust-runtime/aws-smithy-mocks/src/lib.rs @@ -5,7 +5,7 @@ #![doc = include_str!("../README.md")] /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![warn( missing_docs, diff --git a/rust-runtime/aws-smithy-observability-otel/Cargo.toml b/rust-runtime/aws-smithy-observability-otel/Cargo.toml index de0a75f43ea..0c9a790891a 100644 --- a/rust-runtime/aws-smithy-observability-otel/Cargo.toml +++ b/rust-runtime/aws-smithy-observability-otel/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-observability-otel" -version = "0.1.1" +version = "0.1.2" authors = [ "AWS Rust SDK Team ", ] diff --git a/rust-runtime/aws-smithy-observability-otel/src/lib.rs b/rust-runtime/aws-smithy-observability-otel/src/lib.rs index 87559f451fd..a84975f8c27 100644 --- a/rust-runtime/aws-smithy-observability-otel/src/lib.rs +++ b/rust-runtime/aws-smithy-observability-otel/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![warn( missing_docs, diff --git a/rust-runtime/aws-smithy-observability/Cargo.toml b/rust-runtime/aws-smithy-observability/Cargo.toml index 81bd29cd5f0..bcf5d6e8ef1 100644 --- a/rust-runtime/aws-smithy-observability/Cargo.toml +++ b/rust-runtime/aws-smithy-observability/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-observability" -version = "0.1.3" +version = "0.1.4" authors = [ "AWS Rust SDK Team ", ] diff --git a/rust-runtime/aws-smithy-observability/src/lib.rs b/rust-runtime/aws-smithy-observability/src/lib.rs index fe089274fba..c4e53dbb4e0 100644 --- a/rust-runtime/aws-smithy-observability/src/lib.rs +++ b/rust-runtime/aws-smithy-observability/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![warn( missing_docs, diff --git a/rust-runtime/aws-smithy-protocol-test/Cargo.toml b/rust-runtime/aws-smithy-protocol-test/Cargo.toml index cae643aa965..2edcdeef9d6 100644 --- a/rust-runtime/aws-smithy-protocol-test/Cargo.toml +++ b/rust-runtime/aws-smithy-protocol-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-protocol-test" -version = "0.63.4" +version = "0.63.5" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "A collection of library functions to validate HTTP requests against Smithy protocol tests." edition = "2021" diff --git a/rust-runtime/aws-smithy-protocol-test/src/lib.rs b/rust-runtime/aws-smithy-protocol-test/src/lib.rs index 532a2d5ea6c..aab0b5c554c 100644 --- a/rust-runtime/aws-smithy-protocol-test/src/lib.rs +++ b/rust-runtime/aws-smithy-protocol-test/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![warn( // missing_docs, diff --git a/rust-runtime/aws-smithy-query/Cargo.toml b/rust-runtime/aws-smithy-query/Cargo.toml index c71748c2c77..1d308a844b8 100644 --- a/rust-runtime/aws-smithy-query/Cargo.toml +++ b/rust-runtime/aws-smithy-query/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-query" -version = "0.60.7" +version = "0.60.8" authors = ["AWS Rust SDK Team ", "John DiSanti "] description = "AWSQuery and EC2Query Smithy protocol logic for smithy-rs." edition = "2021" diff --git a/rust-runtime/aws-smithy-query/src/lib.rs b/rust-runtime/aws-smithy-query/src/lib.rs index 84f4d37620c..8aa2acd5e04 100644 --- a/rust-runtime/aws-smithy-query/src/lib.rs +++ b/rust-runtime/aws-smithy-query/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] #![warn( diff --git a/rust-runtime/aws-smithy-runtime-api/Cargo.toml b/rust-runtime/aws-smithy-runtime-api/Cargo.toml index cd51a187f86..95c0194e916 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.9.0" +version = "1.9.1" authors = ["AWS Rust SDK Team ", "Zelda Hessler "] description = "Smithy runtime types." edition = "2021" diff --git a/rust-runtime/aws-smithy-runtime-api/src/lib.rs b/rust-runtime/aws-smithy-runtime-api/src/lib.rs index 3be2088da65..6c09205988a 100644 --- a/rust-runtime/aws-smithy-runtime-api/src/lib.rs +++ b/rust-runtime/aws-smithy-runtime-api/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![warn( missing_docs, diff --git a/rust-runtime/aws-smithy-runtime/Cargo.toml b/rust-runtime/aws-smithy-runtime/Cargo.toml index fbad74a4f32..3ff88d65ad1 100644 --- a/rust-runtime/aws-smithy-runtime/Cargo.toml +++ b/rust-runtime/aws-smithy-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-runtime" -version = "1.9.2" +version = "1.9.3" authors = ["AWS Rust SDK Team ", "Zelda Hessler "] description = "The new smithy runtime crate" edition = "2021" diff --git a/rust-runtime/aws-smithy-runtime/src/lib.rs b/rust-runtime/aws-smithy-runtime/src/lib.rs index c40434e4d1e..02279b0be61 100644 --- a/rust-runtime/aws-smithy-runtime/src/lib.rs +++ b/rust-runtime/aws-smithy-runtime/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! Runtime support logic and types for smithy-rs generated code. //! diff --git a/rust-runtime/aws-smithy-types-convert/Cargo.toml b/rust-runtime/aws-smithy-types-convert/Cargo.toml index 392b9e5e98d..ad4edb477f2 100644 --- a/rust-runtime/aws-smithy-types-convert/Cargo.toml +++ b/rust-runtime/aws-smithy-types-convert/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-types-convert" -version = "0.60.9" +version = "0.60.10" authors = ["AWS Rust SDK Team "] description = "Conversion of types from aws-smithy-types to other libraries." edition = "2021" diff --git a/rust-runtime/aws-smithy-types-convert/src/lib.rs b/rust-runtime/aws-smithy-types-convert/src/lib.rs index 1283c0f53f8..8f761fa6a36 100644 --- a/rust-runtime/aws-smithy-types-convert/src/lib.rs +++ b/rust-runtime/aws-smithy-types-convert/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! Conversions between `aws-smithy-types` and the types of frequently used Rust libraries. diff --git a/rust-runtime/aws-smithy-types/Cargo.toml b/rust-runtime/aws-smithy-types/Cargo.toml index 6a41449fd3b..f2818d129ba 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.3.2" +version = "1.3.3" authors = [ "AWS Rust SDK Team ", "Russell Cohen ", diff --git a/rust-runtime/aws-smithy-types/src/lib.rs b/rust-runtime/aws-smithy-types/src/lib.rs index 5af73e1fb18..dd5b4e14ada 100644 --- a/rust-runtime/aws-smithy-types/src/lib.rs +++ b/rust-runtime/aws-smithy-types/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ //! Protocol-agnostic types for smithy-rs. diff --git a/rust-runtime/aws-smithy-wasm/Cargo.toml b/rust-runtime/aws-smithy-wasm/Cargo.toml index 89e80a8e271..3c06ed2e0a8 100644 --- a/rust-runtime/aws-smithy-wasm/Cargo.toml +++ b/rust-runtime/aws-smithy-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-wasm" -version = "0.1.4" +version = "0.1.5" authors = [ "AWS Rust SDK Team ", "Eduardo Rodrigues <16357187+eduardomourar@users.noreply.github.com>", diff --git a/rust-runtime/aws-smithy-wasm/src/lib.rs b/rust-runtime/aws-smithy-wasm/src/lib.rs index 84e9b7dd9fb..7e5206280d9 100644 --- a/rust-runtime/aws-smithy-wasm/src/lib.rs +++ b/rust-runtime/aws-smithy-wasm/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] #![warn( diff --git a/rust-runtime/aws-smithy-xml/Cargo.toml b/rust-runtime/aws-smithy-xml/Cargo.toml index 422e8fed9b6..2ddb5bb1f99 100644 --- a/rust-runtime/aws-smithy-xml/Cargo.toml +++ b/rust-runtime/aws-smithy-xml/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-xml" -version = "0.60.10" +version = "0.60.11" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "XML parsing logic for Smithy protocols." edition = "2021" diff --git a/rust-runtime/aws-smithy-xml/src/lib.rs b/rust-runtime/aws-smithy-xml/src/lib.rs index fad590f46a4..f21059be44a 100644 --- a/rust-runtime/aws-smithy-xml/src/lib.rs +++ b/rust-runtime/aws-smithy-xml/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #![allow(clippy::derive_partial_eq_without_eq)] #![warn( diff --git a/rust-runtime/inlineable/src/lib.rs b/rust-runtime/inlineable/src/lib.rs index bf20f6c0917..aa37eeac191 100644 --- a/rust-runtime/inlineable/src/lib.rs +++ b/rust-runtime/inlineable/src/lib.rs @@ -4,7 +4,7 @@ */ /* Automatically managed default lints */ -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] /* End of automatically managed default lints */ #[allow(dead_code)] mod aws_query_compatible_errors; diff --git a/tools/ci-build/sdk-lints/src/lib_rs_attr.rs b/tools/ci-build/sdk-lints/src/lib_rs_attr.rs index 4a226dc9d99..4dc239e1758 100644 --- a/tools/ci-build/sdk-lints/src/lib_rs_attr.rs +++ b/tools/ci-build/sdk-lints/src/lib_rs_attr.rs @@ -24,11 +24,11 @@ impl Lint for StandardizedRuntimeCrateLibRsAttributes { } } -const DOCS_AUTO_CFG: &str = "#![cfg_attr(docsrs, feature(doc_auto_cfg))]"; +const DOCS_CFG: &str = "#![cfg_attr(docsrs, feature(doc_cfg))]"; fn check_for_auto_cfg(path: impl AsRef) -> anyhow::Result> { let contents = std::fs::read_to_string(path)?; - if !contents.contains(DOCS_AUTO_CFG) { + if !contents.contains(DOCS_CFG) { return Ok(vec![LintError::new("missing docsrs header")]); } Ok(vec![]) @@ -38,7 +38,7 @@ impl Fix for StandardizedRuntimeCrateLibRsAttributes { fn fix(&self, path: impl AsRef) -> anyhow::Result<(Vec, String)> { let contents = std::fs::read_to_string(&path)?; // ensure there is only one in the crate - let mut contents = contents.replace(DOCS_AUTO_CFG, ""); + let mut contents = contents.replace(DOCS_CFG, ""); let anchor_start = "/* Automatically managed default lints */\n"; let anchor_end = "\n/* End of automatically managed default lints */"; // Find the end of the license header @@ -51,7 +51,7 @@ impl Fix for StandardizedRuntimeCrateLibRsAttributes { replace_anchor( &mut contents, &(anchor_start, anchor_end), - DOCS_AUTO_CFG, + DOCS_CFG, Some(newline), )?; };