mirror of https://github.com/smithy-lang/smithy-rs
c75807ce37
_Every once in a while I run clippy and the pre-commit checks on everything b/c stuff seems to fall through the cracks._ - fix: various code that's escaped the linter - format: various code that's escaped the formatter - update: `chrono` because a test was using a method only available in v0.4.23 _(I don't know why that didn't fail in CI)_ _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
external-types.toml |
README.md
aws-smithy-types-convert
This crate provides utilities for converting between the types defined in aws-smithy-types and types commonly used in other libraries.
Crate Features
By default, no features are enabled. Using the conversions requires enabling one or more features:
[dependencies]
aws-smithy-types-convert = { version = "VERSION", features = ["convert-chrono"] }
Currently, the following conversions are supported:
convert-chrono
: Conversions betweenDateTime
and chrono.convert-time
: Conversions betweenDateTime
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.