[package]
edition = "2021"
rust-version = "1.91"
name = "aws-smithy-http-server"
version = "0.66.2"
authors = ["Smithy Rust Server <smithy-rs-server@amazon.com>"]
build = false
publish = true
autolib = false
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
targets = ["x86_64-unknown-linux-gnu"]
cargo-args = [
"-Zunstable-options",
"-Zrustdoc-scrape-examples",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
aws-lambda = ["dep:lambda_http"]
default = []
request-id = ["dep:uuid"]
unredacted-logging = []
[lib]
name = "aws_smithy_http_server"
path = "src/lib.rs"
[[example]]
name = "basic_server"
path = "examples/basic_server.rs"
[[example]]
name = "custom_accept_loop"
path = "examples/custom_accept_loop.rs"
[[example]]
name = "request_id"
path = "examples/request_id.rs"
[[test]]
name = "graceful_shutdown_test"
path = "tests/graceful_shutdown_test.rs"
[[test]]
name = "serve_integration_test"
path = "tests/serve_integration_test.rs"
[dependencies.aws-smithy-cbor]
version = "0.61.5"
[dependencies.aws-smithy-http]
version = "0.63.5"
features = ["rt-tokio"]
[dependencies.aws-smithy-json]
version = "0.62.4"
[dependencies.aws-smithy-runtime-api]
version = "1.11.5"
[dependencies.aws-smithy-types]
version = "1.4.5"
features = ["http-body-1-x"]
[dependencies.aws-smithy-xml]
version = "0.60.14"
[dependencies.bytes]
version = "1.10.0"
[dependencies.futures-util]
version = "0.3.29"
default-features = false
[dependencies.http]
version = "1.3.1"
[dependencies.http-body]
version = "1.0.1"
[dependencies.http-body-util]
version = "0.1.3"
[dependencies.hyper]
version = "1.6"
features = [
"server",
"http1",
"http2",
]
[dependencies.hyper-util]
version = "0.1.16"
features = [
"tokio",
"server",
"server-auto",
"server-graceful",
"service",
"http1",
"http2",
]
[dependencies.lambda_http]
version = "1"
optional = true
[dependencies.mime]
version = "0.3.17"
[dependencies.nom]
version = "7.1.3"
[dependencies.pin-project-lite]
version = "0.2.14"
[dependencies.regex]
version = "1.12.2"
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.49.0"
features = ["full"]
[dependencies.tower]
version = "0.4.13"
features = [
"util",
"make",
]
default-features = false
[dependencies.tower-http]
version = "0.6"
features = [
"add-extension",
"map-response-body",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.uuid]
version = "1.1.2"
features = [
"v4",
"fast-rng",
]
optional = true
[dev-dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"client",
"client-legacy",
"http1",
"http2",
]
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.tower]
version = "0.4.13"
features = [
"util",
"make",
"limit",
]
[dev-dependencies.tower-http]
version = "0.6"
features = ["timeout"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]