[package]
edition = "2021"
rust-version = "1.91"
name = "aws-smithy-runtime"
version = "1.10.2"
authors = [
"AWS Rust SDK Team <aws-sdk-rust@amazon.com>",
"Zelda Hessler <zhessler@amazon.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The new smithy runtime crate"
readme = "README.md"
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",
]
[package.metadata.smithy-rs-release-tooling]
stable = true
[package.metadata.cargo-udeps.ignore]
normal = ["aws-smithy-http"]
[features]
client = [
"aws-smithy-runtime-api/client",
"aws-smithy-types/http-body-1-x",
]
connector-hyper-0-14-x = [
"dep:aws-smithy-http-client",
"aws-smithy-http-client?/hyper-014",
]
default-https-client = [
"dep:aws-smithy-http-client",
"aws-smithy-http-client?/rustls-aws-lc",
]
http-auth = ["aws-smithy-runtime-api/http-auth"]
legacy-test-util = [
"aws-smithy-runtime-api/test-util",
"dep:tracing-subscriber",
"aws-smithy-http-client/test-util",
"connector-hyper-0-14-x",
"aws-smithy-http-client/legacy-test-util",
]
rt-tokio = ["tokio/rt"]
test-util = [
"aws-smithy-runtime-api/test-util",
"dep:tracing-subscriber",
"aws-smithy-http-client/test-util",
"legacy-test-util",
]
tls-rustls = [
"dep:aws-smithy-http-client",
"aws-smithy-http-client?/legacy-rustls-ring",
"connector-hyper-0-14-x",
]
wire-mock = [
"legacy-test-util",
"aws-smithy-http-client/wire-mock",
]
[lib]
name = "aws_smithy_runtime"
path = "src/lib.rs"
[[test]]
name = "reconnect_on_transient_error"
path = "tests/reconnect_on_transient_error.rs"
[[test]]
name = "retries"
path = "tests/retries.rs"
[[test]]
name = "stalled_stream_common"
path = "tests/stalled_stream_common.rs"
[[test]]
name = "stalled_stream_download"
path = "tests/stalled_stream_download.rs"
[[test]]
name = "stalled_stream_performance"
path = "tests/stalled_stream_performance.rs"
[[test]]
name = "stalled_stream_upload"
path = "tests/stalled_stream_upload.rs"
[dependencies.aws-smithy-async]
version = "1.2.13"
[dependencies.aws-smithy-http]
version = "0.63.5"
[dependencies.aws-smithy-http-client]
version = "1.1.11"
optional = true
[dependencies.aws-smithy-observability]
version = "0.2.5"
[dependencies.aws-smithy-runtime-api]
version = "1.11.5"
[dependencies.aws-smithy-types]
version = "1.4.5"
features = ["http-body-0-4-x"]
[dependencies.bytes]
version = "1.10.0"
[dependencies.fastrand]
version = "2.3.0"
[dependencies.http-02x]
version = "0.2.12"
package = "http"
[dependencies.http-1x]
version = "1.3.1"
package = "http"
[dependencies.http-body-04x]
version = "0.4.6"
package = "http-body"
[dependencies.http-body-1x]
version = "1.0.1"
package = "http-body"
[dependencies.http-body-util]
version = "0.1.3"
[dependencies.pin-project-lite]
version = "0.2.14"
[dependencies.pin-utils]
version = "0.1.0"
[dependencies.tokio]
version = "1.49.0"
features = []
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.22"
features = [
"env-filter",
"fmt",
"json",
]
optional = true
[dev-dependencies.approx]
version = "0.5.1"
[dev-dependencies.aws-smithy-async]
version = "1.2.13"
features = [
"rt-tokio",
"test-util",
]
[dev-dependencies.aws-smithy-runtime-api]
version = "1.11.5"
features = ["test-util"]
[dev-dependencies.aws-smithy-types]
version = "1.4.5"
features = ["test-util"]
[dev-dependencies.fastrand]
version = "2.3.0"
[dev-dependencies.futures-util]
version = "0.3.29"
[dev-dependencies.hyper_0_14]
version = "0.14.27"
features = [
"client",
"server",
"tcp",
"http1",
"http2",
]
package = "hyper"
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[dev-dependencies.tokio]
version = "1.49.0"
features = [
"macros",
"rt",
"rt-multi-thread",
"test-util",
"full",
]
[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]
[dev-dependencies.tracing-test]
version = "0.2.1"