aws-smithy-http-client 1.5.0

HTTP client abstractions for generated smithy clients
Documentation
#!/bin/bash
#
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#

# This script contains additional CI checks to run for this specific package

set -e

echo "### Checking standalone and pairwise feature combinations"
cargo hack check --feature-powerset --depth 2 --exclude-all-features \
    --exclude-features __rustls

echo "### Testing with the wire harness, Rustls/AWS-LC, and s2n-tls"
cargo test --features wire-mock,rustls-aws-lc,s2n-tls

echo "### Checking HTTP proxy tests without a TLS provider"
cargo test --no-default-features --features default-client --test proxy_tests --no-run

echo "### Testing unstable custom rustls crypto provider"
# Enabling ring because the tests use it as the "custom" provider, and it transitively enables __rustls
RUSTFLAGS="--cfg aws_sdk_unstable" cargo test --features rustls-ring,rt-tokio

echo "### Running connection pool Loom models"
RUSTFLAGS="${RUSTFLAGS:-} --cfg smithy_http_client_loom -D warnings" \
    cargo test --lib --features default-client,rt-tokio