Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

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

[dependencies]
aws-smithy-http-client = { version = "1.1.1", 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 h2 ^0.3.24, 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 and client-proxy 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, tokio-rustls, ring of rustls

rustls-aws-lc = default-client

Enables hyper-rustls, tokio-rustls, aws_lc_rs and prefer-post-quantum of rustls

rustls-aws-lc-fips = default-client

Enables hyper-rustls, tokio-rustls, fips and prefer-post-quantum of rustls

s2n-tls = default-client

Enables s2n-tls, s2n-tls-hyper ^0.0.16, and s2n-tls-tokio

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 and rt of tokio

tokio:

Includes basic task execution capabilities

Affects aws-smithy-http-client::test_util