[package]
name = "aws-smithy-http"
version = "0.60.8"
authors = [
  "AWS Rust SDK Team <aws-sdk-rust@amazon.com>",
  "Russell Cohen <rcoh@amazon.com>",
]
description = "Smithy HTTP logic for smithy-rs."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/smithy-lang/smithy-rs"

[features]
event-stream = ["aws-smithy-eventstream"]
rt-tokio = ["aws-smithy-types/rt-tokio"]

[dependencies]
aws-smithy-eventstream = { path = "../aws-smithy-eventstream", optional = true }
aws-smithy-runtime-api = { path = "../aws-smithy-runtime-api", features = ["client", "http-02x"] }
aws-smithy-types = { path = "../aws-smithy-types", features = ["byte-stream-poll-next", "http-body-0-4-x"] }
bytes = "1"
bytes-utils = "0.1"
http = "0.2.3"
http-body = "0.4.4"
once_cell = "1.10"
percent-encoding = "2.1.0"
pin-project-lite = "0.2.9"
pin-utils = "0.1.0"
tracing = "0.1"

# For an adapter to enable the `Stream` trait for `aws_smithy_types::byte_stream::ByteStream`
futures-core = "0.3.29"

[dev-dependencies]
async-stream = "0.3"
futures-util = { version = "0.3.29", default-features = false }
hyper = { version = "0.14.26", features = ["stream"] }
proptest = "1"
tokio = { version = "1.23.1", features = [
  "macros",
  "rt",
  "rt-multi-thread",
] }

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