19 19 | authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
|
20 20 | description = "HTTP client abstractions for generated smithy clients"
|
21 21 | version = "1.0.0"
|
22 22 | license = "Apache-2.0"
|
23 23 | edition = "2021"
|
24 24 | repository = "https://github.com/smithy-lang/smithy-rs"
|
25 25 | [package.metadata.smithy-rs-release-tooling]
|
26 26 | stable = true
|
27 27 | [package.metadata.docs.rs]
|
28 28 | all-features = false
|
29 - | features = ["hyper-1 ", "wire-mock", "test-util", "rustls-ring", "rustls-aws-lc"]
|
29 + | features = ["default-client ", "wire-mock", "test-util", "rustls-ring", "rustls-aws-lc"]
|
30 30 | targets = ["x86_64-unknown-linux-gnu"]
|
31 31 | cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
32 32 | rustdoc-args = ["--cfg", "docsrs"]
|
33 33 |
|
34 34 | [features]
|
35 35 | hyper-014 = ["aws-smithy-runtime-api/http-02x", "aws-smithy-types/http-body-0-4-x", "dep:http-02x", "dep:http-body-04x", "dep:hyper-0-14"]
|
36 - | hyper-1 = ["aws-smithy-runtime-api/http-1x", "aws-smithy-types/http-body-1-x", "dep:hyper", "dep:hyper-util", "hyper-util?/client-legacy", "dep:http-1x", "dep:tower"]
|
37 - | wire-mock = ["test-util", "hyper-1", "hyper-util?/server", "hyper-util?/server-auto", "hyper-util?/service", "hyper-util?/server-graceful", "tokio/macros", "dep:http-body-util"]
|
36 + | default-client = ["aws-smithy-runtime-api/http-1x", "aws-smithy-types/http-body-1-x", "dep:hyper", "dep:hyper-util", "hyper-util?/client-legacy", "dep:http-1x", "dep:tower"]
|
37 + | wire-mock = ["test-util", "default-client", "hyper-util?/server", "hyper-util?/server-auto", "hyper-util?/service", "hyper-util?/server-graceful", "tokio/macros", "dep:http-body-util"]
|
38 38 | test-util = ["dep:aws-smithy-protocol-test", "dep:serde", "dep:serde_json", "dep:indexmap", "dep:bytes", "dep:http-1x", "aws-smithy-runtime-api/http-1x", "dep:http-body-1x", "aws-smithy-types/http-body-1-x"]
|
39 39 | legacy-test-util = ["test-util", "dep:http-02x", "aws-smithy-runtime-api/http-02x", "aws-smithy-types/http-body-0-4-x"]
|
40 40 | legacy-rustls-ring = ["dep:legacy-hyper-rustls", "dep:legacy-rustls", "hyper-014"]
|
41 - | rustls-ring = ["dep:rustls", "rustls?/ring", "dep:hyper-rustls", "hyper-1"]
|
42 - | rustls-aws-lc = ["dep:rustls", "rustls?/aws_lc_rs", "dep:hyper-rustls", "hyper-1"]
|
43 - | rustls-aws-lc-fips = ["dep:rustls", "rustls?/fips", "dep:hyper-rustls", "hyper-1"]
|
41 + | rustls-ring = ["dep:rustls", "rustls?/ring", "dep:hyper-rustls", "default-client"]
|
42 + | rustls-aws-lc = ["dep:rustls", "rustls?/aws_lc_rs", "dep:hyper-rustls", "default-client"]
|
43 + | rustls-aws-lc-fips = ["dep:rustls", "rustls?/fips", "dep:hyper-rustls", "default-client"]
|
44 44 |
|
45 45 | [dependencies]
|
46 46 | once_cell = "1.20.1"
|
47 47 | pin-project-lite = "0.2.14"
|
48 48 | tracing = "0.1"
|
49 49 |
|
50 50 | [dependencies.aws-smithy-async]
|
51 51 | path = "../aws-smithy-async"
|
52 52 | version = "1.2.5"
|
53 53 |
|