# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "aws-smithy-types-convert"
version = "0.60.9"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Conversion of types from aws-smithy-types to other libraries."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/smithy-lang/smithy-rs"

[package.metadata.docs.rs]
all-features = true
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]

[lib]
name = "aws_smithy_types_convert"
path = "src/lib.rs"

[dependencies.aws-smithy-async]
version = "1.2.5"
optional = true

[dependencies.aws-smithy-types]
version = "1.3.0"
optional = true

[dependencies.chrono]
version = "0.4.35"
features = ["std"]
optional = true
default-features = false

[dependencies.futures-core]
version = "0.3.31"
optional = true

[dependencies.time]
version = "0.3.4"
optional = true

[features]
convert-chrono = [
    "aws-smithy-types",
    "chrono",
]
convert-streams = [
    "aws-smithy-async",
    "futures-core",
]
convert-time = [
    "aws-smithy-types",
    "time",
]