# 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"
version = "1.3.0"
authors = [
    "AWS Rust SDK Team <aws-sdk-rust@amazon.com>",
    "Russell Cohen <rcoh@amazon.com>",
]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Types for smithy-rs codegen."
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"]

[package.metadata.smithy-rs-release-tooling]
stable = true

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

[[bench]]
name = "base64"
path = "benches/base64.rs"
harness = false

[dependencies.base64-simd]
version = "0.8"

[dependencies.bytes]
version = "1.10.0"

[dependencies.bytes-utils]
version = "0.1"

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

[dependencies.http]
version = "0.2.9"
optional = true

[dependencies.http-1x]
version = "1"
optional = true
package = "http"

[dependencies.http-body-0-4]
version = "0.4.5"
optional = true
package = "http-body"

[dependencies.http-body-1-0]
version = "1"
optional = true
package = "http-body"

[dependencies.http-body-util]
version = "0.1.2"
optional = true

[dependencies.hyper-0-14]
version = "0.14.26"
optional = true
package = "hyper"

[dependencies.itoa]
version = "1.0.0"

[dependencies.num-integer]
version = "0.1.44"

[dependencies.pin-project-lite]
version = "0.2.14"

[dependencies.pin-utils]
version = "0.1.0"

[dependencies.ryu]
version = "1.0.5"

[dependencies.time]
version = "0.3.4"
features = ["parsing"]

[dependencies.tokio]
version = "1.40.0"
optional = true

[dependencies.tokio-util]
version = "0.7.1"
optional = true

[dev-dependencies.base64]
version = "0.13.0"

[dev-dependencies.ciborium]
version = "0.2.1"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.lazy_static]
version = "1.4"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rand]
version = "0.8.4"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tempfile]
version = "3.16.0"

[dev-dependencies.tokio]
version = "1.23.1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "fs",
    "io-util",
]

[dev-dependencies.tokio-stream]
version = "0.1.5"

[features]
byte-stream-poll-next = []
http-body-0-4-x = [
    "dep:http-body-0-4",
    "dep:http",
]
http-body-1-x = [
    "dep:http-body-1-0",
    "dep:http-body-util",
    "dep:http-body-0-4",
    "dep:http-1x",
    "dep:http",
]
hyper-0-14-x = ["dep:hyper-0-14"]
rt-tokio = [
    "dep:http-body-0-4",
    "dep:tokio-util",
    "dep:tokio",
    "tokio?/rt",
    "tokio?/fs",
    "tokio?/io-util",
    "tokio-util?/io",
    "dep:futures-core",
    "dep:http",
]
serde-deserialize = []
serde-serialize = []
test-util = []

[target."cfg(aws_sdk_unstable)".dependencies.serde]
version = "1.0.210"
features = ["derive"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(aws_sdk_unstable)"]