async-web-client 0.6.3

async web client helpers
Documentation
name: Cargo Build & Test

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build_and_test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        toolchain: ["stable", "beta", "nightly"]
        crypto: ["ring", "aws-lc-rs", "ring,aws-lc-rs"]
        ws: ["websocket", ""]
        json: ["json",""]
    steps:
      - uses: actions/checkout@v3
      - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
      - run: rustup component add clippy
      - run: rustup component add rustfmt
      - run: cargo fmt --check
      - run: cargo build --verbose --no-default-features --features ${{ matrix.crypto }},${{ matrix.ws }},${{ matrix.json }}
      - run: cargo test --verbose --no-default-features --features ${{ matrix.crypto }},${{ matrix.ws }},${{ matrix.json }}
      - run: cargo clippy --tests --no-default-features --features ${{ matrix.crypto }},${{ matrix.ws }},${{ matrix.json }}