# 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-python"
version = "0.63.3"
authors = ["Smithy Rust Server <smithy-rs-server@amazon.com>"]
build = false
publish = true
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Python 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_python"
path = "src/lib.rs"

[[test]]
name = "middleware_tests"
path = "src/middleware/pytests/harness.rs"
harness = false

[[test]]
name = "python_tests"
path = "src/pytests/harness.rs"
harness = false

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

[dependencies.aws-smithy-http-server]
version = "0.63.5"
features = ["aws-lambda"]

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

[dependencies.aws-smithy-types]
version = "1.3.0"
features = [
    "byte-stream-poll-next",
    "http-body-0-4-x",
]

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

[dependencies.bytes]
version = "1.10.0"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "0.2.9"

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

[dependencies.lambda_http]
version = "0.8.3"

[dependencies.num_cpus]
version = "1.13.1"

[dependencies.parking_lot]
version = "0.12.1"

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

[dependencies.pyo3]
version = "0.18.2"

[dependencies.pyo3-asyncio]
version = "0.18.0"
features = ["tokio-runtime"]

[dependencies.rustls-pemfile]
version = "1.0.1"

[dependencies.signal-hook]
version = "0.3.14"
features = ["extended-siginfo"]

[dependencies.socket2]
version = "0.5.5"
features = ["all"]

[dependencies.thiserror]
version = "1.0.40"

[dependencies.tls-listener]
version = "0.7.0"
features = [
    "rustls",
    "hyper-h2",
]

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

[dependencies.tokio-rustls]
version = "0.24.0"

[dependencies.tokio-stream]
version = "0.1.2"

[dependencies.tower]
version = "0.4.13"
features = ["util"]

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-appender]
version = "0.2.2"

[dependencies.tracing-subscriber]
version = "0.3.16"
features = [
    "json",
    "env-filter",
]

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

[dev-dependencies.hyper-rustls]
version = "0.24"
features = ["http2"]

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

[dev-dependencies.pyo3-asyncio]
version = "0.18.0"
features = [
    "testing",
    "attributes",
    "tokio-runtime",
    "unstable-streams",
]

[dev-dependencies.rcgen]
version = "0.10.0"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tower-test]
version = "0.4"