Skip to content

Commit 44e5fc4

Browse files
Merge branch 'main' into RFC30/serde-decorator
2 parents 7251962 + 093e9a2 commit 44e5fc4

File tree

43 files changed

+259
-28
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+259
-28
lines changed

.github/workflows/ci-pr.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ jobs:
114114
needs:
115115
- save-docker-login-token
116116
- acquire-base-image
117+
# We need `always` here otherwise this job won't run if the previous job has been skipped
118+
# See https://samanpavel.medium.com/github-actions-conditional-job-execution-e6aa363d2867
119+
if: |
120+
always() &&
121+
!contains(needs.*.result, 'failure') &&
122+
!contains(needs.*.result, 'cancelled')
117123
steps:
118124
- uses: actions/checkout@v3
119125
with:

CHANGELOG.next.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,21 @@ message = "Expose local socket address from ConnectionMetadata."
7979
references = ["aws-sdk-rust#990"]
8080
meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" }
8181
author = "declanvk"
82+
83+
[[smithy-rs]]
84+
message = "All generated docs now include docsrs labels when features are required"
85+
references = ["smithy-rs#3121", "smithy-rs#3295"]
86+
meta = { "breaking" = false, "tada" = true, "bug" = false, "target" = "all" }
87+
author = "rcoh"
88+
89+
[[aws-sdk-rust]]
90+
message = "All generated docs now include docsrs labels when features are required"
91+
references = ["smithy-rs#3121", "smithy-rs#3295"]
92+
meta = { "breaking" = false, "tada" = true, "bug" = false }
93+
author = "rcoh"
94+
95+
[[smithy-rs]]
96+
message = "[`Number`](https://docs.rs/aws-smithy-types/latest/aws_smithy_types/enum.Number.html) `TryInto` implementations now succesfully convert from `f64` to numeric types when no precision is lost. This fixes some deserialization issues where numbers like `25.0` were sent when `Byte` fields were expected."
97+
references = ["smithy-rs#3294"]
98+
meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "all" }
99+
author = "rcoh"

aws/rust-runtime/aws-config/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/* Automatically managed default lints */
7+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
8+
/* End of automatically managed default lints */
69
#![allow(clippy::derive_partial_eq_without_eq)]
710
#![warn(
811
missing_debug_implementations,
@@ -11,7 +14,6 @@
1114
rustdoc::missing_crate_level_docs,
1215
unreachable_pub
1316
)]
14-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1517

1618
//! `aws-config` provides implementations of region and credential resolution.
1719
//!

aws/rust-runtime/aws-credential-types/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/* Automatically managed default lints */
7+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
8+
/* End of automatically managed default lints */
69
//! `aws-credential-types` provides types concerned with AWS SDK credentials including:
710
//! * Traits for credentials providers and for credentials caching
811
//! * An opaque struct representing credentials

aws/rust-runtime/aws-endpoint/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/* Automatically managed default lints */
7+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
8+
/* End of automatically managed default lints */
69
//! This crate is no longer used by the AWS SDK and is deprecated.

aws/rust-runtime/aws-http/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/* Automatically managed default lints */
7+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
8+
/* End of automatically managed default lints */
69
//! AWS-specific middleware implementations and HTTP-related features.
710
811
#![allow(clippy::derive_partial_eq_without_eq)]

aws/rust-runtime/aws-hyper/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/* Automatically managed default lints */
7+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
8+
/* End of automatically managed default lints */
69
#![deprecated(
710
since = "0.3.0",
811
note = "The functionality of this crate is included in individual AWS services."

aws/rust-runtime/aws-inlineable/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/* Automatically managed default lints */
7+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
8+
/* End of automatically managed default lints */
69
//! Collection of modules that get conditionally included directly into the code generated
710
//! SDK service crates. For example, when generating S3, the `s3_errors` module will get copied
811
//! into the generated S3 crate to support the code generator.

aws/rust-runtime/aws-runtime-api/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/* Automatically managed default lints */
7+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
8+
/* End of automatically managed default lints */
69
//! Runtime support code for the AWS SDK. This crate isn't intended to be used directly.
710
811
#![warn(

aws/rust-runtime/aws-runtime/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6+
/* Automatically managed default lints */
7+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
8+
/* End of automatically managed default lints */
69
//! Runtime support code for the AWS SDK. This crate isn't intended to be used directly.
710
811
#![warn(

0 commit comments

Comments
 (0)