# 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-http-server"
version = "0.63.5"
authors = ["Smithy Rust Server <smithy-rs-server@amazon.com>"]
build = false
publish = true
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Server runtime for Smithy Rust Server Framework.
"""
readme = "README.md"
keywords = [
    "smithy",
    "framework",
    "web",
    "api",
    "aws",
]
categories = [
    "asynchronous",
    "web-programming",
    "api-bindings",
]
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_http_server"
path = "src/lib.rs"

[dependencies.aws-smithy-cbor]
version = "0.61.0"

[dependencies.aws-smithy-http]
version = "0.62.0"
features = ["rt-tokio"]

[dependencies.aws-smithy-json]
version = "0.61.3"

[dependencies.aws-smithy-runtime-api]
version = "1.7.4"
features = ["http-02x"]

[dependencies.aws-smithy-types]
version = "1.3.0"
features = [
    "http-body-0-4-x",
    "hyper-0-14-x",
]

[dependencies.aws-smithy-xml]
version = "0.60.9"

[dependencies.bytes]
version = "1.10.0"

[dependencies.futures-util]
version = "0.3.29"
default-features = false

[dependencies.http]
version = "0.2.9"

[dependencies.http-body]
version = "0.4.5"

[dependencies.hyper]
version = "0.14.26"
features = [
    "server",
    "http1",
    "http2",
    "tcp",
    "stream",
]

[dependencies.lambda_http]
version = "0.8.3"
optional = true

[dependencies.mime]
version = "0.3.17"

[dependencies.nom]
version = "7.1.3"

[dependencies.once_cell]
version = "1.20.1"

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

[dependencies.regex]
version = "1.5.5"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.thiserror]
version = "1.0.40"

[dependencies.tokio]
version = "1.40.0"
features = ["full"]

[dependencies.tower]
version = "0.4.13"
features = [
    "util",
    "make",
]
default-features = false

[dependencies.tower-http]
version = "0.3"
features = [
    "add-extension",
    "map-response-body",
]

[dependencies.tracing]
version = "0.1.40"

[dependencies.uuid]
version = "1.1.2"
features = [
    "v4",
    "fast-rng",
]
optional = true

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

[features]
aws-lambda = ["dep:lambda_http"]
request-id = ["dep:uuid"]
unredacted-logging = []