This crate provides utilities for converting between the types defined in aws-smithy-types and types commonly used in other libraries.
By default, no features are enabled. Using the conversions requires enabling one or more features:
toml
[dependencies]
aws-smithy-types-convert = { version = "VERSION", features = ["convert-chrono"] }
Currently, the following conversions are supported:
convert-chrono
: Conversions between DateTime
and chrono.convert-time
: Conversions between DateTime
and time.Note: Conversions to and from SystemTime
are built
into aws-smithy-types
.
This crate is part of the AWS SDK for Rust and the smithy-rs code generator. In most cases, it should not be used directly.