#aws-smithy #aws-sdk #convert

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

#111 in Rust patterns

Download history 23906/week @ 2024-12-08 27533/week @ 2024-12-15 9244/week @ 2024-12-22 11064/week @ 2024-12-29 21315/week @ 2025-01-05 20136/week @ 2025-01-12 21306/week @ 2025-01-19 25179/week @ 2025-01-26 27746/week @ 2025-02-02 29519/week @ 2025-02-09 27236/week @ 2025-02-16 27950/week @ 2025-02-23 31194/week @ 2025-03-02 35276/week @ 2025-03-09 31313/week @ 2025-03-16 27318/week @ 2025-03-23

126,134 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–7.5MB
~30K SLoC