Cargo Features

aws-smithy-runtime has no features set by default.

[dependencies]
aws-smithy-runtime = { version = "1.3.1", features = ["client", "http-auth", "connector-hyper-0-14-x", "tls-rustls", "rt-tokio", "wire-mock", "test-util"] }
client

Enables client of aws-smithy-runtime-api, http-body-1-x of aws-smithy-types

Affects aws-smithy-runtime::client

http-auth

Enables http-auth of aws-smithy-runtime-api

Affects auth::http

connector-hyper-0-14-x tls-rustls? wire-mock?

Enables h2 ^0.3, client, http1, http2, stream and tcp of hyper ^0.14.26

Affects never::NeverTcpConnector, test_util::dvr, http::hyper_014, test_util::wire

tls-rustls = connector-hyper-0-14-x

Enables hyper-rustls ^0.24 and rustls ^0.21.8

rt-tokio

Enables rt of tokio

tokio:

Includes basic task execution capabilities

wire-mock = connector-hyper-0-14-x, test-util

Enables server of optional hyper ^0.14.26

Affects test_util::wire

test-util wire-mock?

Enables aws-smithy-protocol-test, indexmap, serde, serde_json, and tracing-subscriber, test-util of aws-smithy-runtime-api

Affects http::test_util, client::test_util, aws-smithy-runtime::test_util