Cargo Features

aws-smithy-http-client has no features set by default.

[dependencies]
aws-smithy-http-client = { version = "1.0.0", features = ["hyper-014", "default-client", "wire-mock", "legacy-test-util", "legacy-rustls-ring", "rustls-ring", "rustls-aws-lc", "rustls-aws-lc-fips", "s2n-tls", "test-util"] }
hyper-014 legacy-rustls-ring?

Enables http ^0.2.9, http-body ^0.4.5, and hyper ^0.14.26, http-02x of aws-smithy-runtime-api, http-body-0-4-x of aws-smithy-types

Affects aws-smithy-http-client::hyper_014, never::NeverTcpConnector

default-client rustls-aws-lc? rustls-aws-lc-fips? rustls-ring? s2n-tls? wire-mock?

Enables http and hyper, rustls-native-certs, rustls-pki-types, and tower, http-1x of aws-smithy-runtime-api, http-body-1-x of aws-smithy-types, client-legacy of hyper-util

Affects never::NeverTcpConnector, test_util::wire

wire-mock = default-client, test-util

Enables http-body-util, macros of tokio, server, server-auto, server-graceful and service of optional hyper-util

Affects test_util::wire

legacy-test-util = test-util

Enables http ^0.2.9, http-02x of aws-smithy-runtime-api, http-body-0-4-x of aws-smithy-types

Affects capture_request::legacy_capture_request, test_util::legacy_infallible

legacy-rustls-ring = hyper-014

Enables hyper-rustls ^0.24 and rustls ^0.21.8

rustls-ring = default-client

Enables hyper-rustls, ring of rustls

rustls-aws-lc = default-client

Enables hyper-rustls, aws_lc_rs of rustls

rustls-aws-lc-fips = default-client

Enables hyper-rustls, fips of rustls

s2n-tls = default-client

Enables s2n-tls and s2n-tls-hyper ^0.0.4

test-util legacy-test-util? wire-mock?

Enables aws-smithy-protocol-test, bytes, http, http-body, indexmap, serde, and serde_json, http-1x of aws-smithy-runtime-api, http-body-1-x of aws-smithy-types

Affects aws-smithy-http-client::test_util