#aws #convert #aws-sdk

aws-smithy-types-convert

Conversion of types from aws-smithy-types to other libraries

48 releases (28 breaking)

0.61.0 Dec 8, 2023
0.60.9 Mar 10, 2025
0.60.8 Mar 12, 2024
0.60.1 Dec 13, 2023
0.30.0-alpha Nov 24, 2021

#157 in Rust patterns

Download history 27636/week @ 2025-02-01 28804/week @ 2025-02-08 27777/week @ 2025-02-15 27912/week @ 2025-02-22 30685/week @ 2025-03-01 35554/week @ 2025-03-08 31827/week @ 2025-03-15 28030/week @ 2025-03-22 24690/week @ 2025-03-29 23808/week @ 2025-04-05 22293/week @ 2025-04-12 25768/week @ 2025-04-19 23177/week @ 2025-04-26 25124/week @ 2025-05-03 24214/week @ 2025-05-10 23029/week @ 2025-05-17

99,908 downloads per month
Used in 23 crates (15 directly)

Apache-2.0

115KB
2.5K SLoC

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.

Dependencies

~0–6MB
~30K SLoC