smithy-rs/rust-runtime/aws-smithy-types-convert
Nugine de186678ee
Bump Rust MSRV to 1.63.0 (#2222)
Co-authored-by: Zelda Hessler <zhessler@amazon.com>
Co-authored-by: John DiSanti <jdisanti@amazon.com>
2023-02-10 12:59:31 -08:00
..
src Bump Rust MSRV to 1.63.0 (#2222) 2023-02-10 12:59:31 -08:00
Cargo.toml Fix cargo audit issue on chrono (#1907) 2022-10-31 20:06:09 +00:00
LICENSE Relegate `chrono` to an optional feature in a new conversion crate (#849) 2021-11-11 16:01:30 -08:00
README.md Add a few READMEs + linter script (#899) 2021-11-30 14:37:42 -05:00
external-types.toml Check external types for runtime and SDK crates in CI (#1625) 2022-08-10 18:33:43 -07:00

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 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.