http-range-client 0.9.1

HTTP client for HTTP Range requests with a buffer optimized for sequential requests.
Documentation
name: CI

on: [push, pull_request]

jobs:
  build_and_check:
    strategy:
      matrix:
        config:
          - { target: x86_64-unknown-linux-gnu, features: "reqwest-async,ureq-sync" }
          - { target: wasm32-unknown-unknown, features: "reqwest-async" }

    name: Build Check ${{ matrix.config.target }}
    runs-on: ubuntu-22.04

    steps:
      - uses: actions/checkout@v2

      - name: Install ${{ matrix.config.target }}
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          target: ${{ matrix.config.target }}
          profile: minimal
          override: true

      - name: check build
        uses: actions-rs/cargo@v1
        with:
          command: check
          args: --target ${{matrix.config.target}} --no-default-features --features=${{matrix.config.features}}

  test:
    strategy:
      matrix:
        target:
          - x86_64-unknown-linux-gnu

    name: Test ${{ matrix.target }}
    runs-on: ubuntu-22.04

    steps:
      - uses: actions/checkout@v2

      - name: Install ${{ matrix.target }}
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          target: ${{ matrix.target }}
          profile: minimal
          override: true

      - name: test
        uses: actions-rs/cargo@v1
        with:
          command: test
          args: --target ${{matrix.target}}

      - name: test --all-features
        uses: actions-rs/cargo@v1
        with:
          command: test
          args: --target ${{matrix.target}} --all-features -- --test-threads 1

      - name: test --no-default-features
        uses: actions-rs/cargo@v1
        with:
          command: test
          args: --target ${{matrix.target}} --no-default-features

      - name: test --features=ureq-sync
        uses: actions-rs/cargo@v1
        with:
          command: test
          args: --target ${{matrix.target}} --no-default-features --features=ureq-sync