Upgrading aws-smithy-types 0.36 to 0.37
Breaking0.36.0 → 0.37.0Breaking3Platform1Changed1Other2
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- Timeout settings now use a single shared type instead of two equivalent ones.
- Types previously imported directly from a service crate now live under that service's `types` module.
- You now need Rust 1.56.1 or newer to build this crate.
Must act 3 items need code or config changes
What you must change
Breaking2
Replaces
aws_smithy_client::timeout::Settings with aws_smithy_types::timeout::TimeoutConfig everywhere and removes the old struct.aws_smithy_client::timeout::Settingsaws_smithy_types::timeout::TimeoutConfigtimeout::Settings::new()TimeoutConfig::new()with_connect_timeout()with_read_timeout()Moves service re-exports
AggregatedBytes, Blob, ByteStream, DateTime, and SdkError into a types module.AggregatedBytesBlobByteStreamDateTimeSdkErrorPlatform1
Increases the minimum supported Rust version (MSRV) from
1.54 to 1.56.1.