From be5e2d4a45149092eb51c9a50cad60b2c7fc022b Mon Sep 17 00:00:00 2001 From: Landon James Date: Tue, 24 Sep 2024 10:15:43 -0700 Subject: [PATCH] Add comment requested in PR feedback --- rust-runtime/aws-smithy-types/src/checksum_config.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rust-runtime/aws-smithy-types/src/checksum_config.rs b/rust-runtime/aws-smithy-types/src/checksum_config.rs index f5b412bb798..555939b8c15 100644 --- a/rust-runtime/aws-smithy-types/src/checksum_config.rs +++ b/rust-runtime/aws-smithy-types/src/checksum_config.rs @@ -5,6 +5,12 @@ //! Types that allow users to indicate their preferences for checksum calculation and validation +// Note: These types would likely make more sense in `aws-smithy-checksums` and were originally +// added there. But we have lints protecting against exporting non-stable types from stable crates +// and the checksums crate is not yet 1.0, so these types cannot live there for now. In the future +// if we do decide to 1.0 the checksums crate we can move these types there and re-export them here +// to maintain the current behavior. + use std::error::Error; use std::fmt; use std::str::FromStr;