reqwest 0.9.24

higher level HTTP client library
Documentation
language: rust
matrix:
    fast_finish: true
    allow_failures:
        - rust: nightly
    include:
        - os: osx
          rust: stable

        - rust: stable
        - rust: beta
        - rust: nightly

        # Disable default-tls
        - rust: stable
          env: FEATURES="--no-default-features"

        # rustls-tls
        - rust: stable
          env: FEATURES="--no-default-features --features rustls-tls"

        # default-tls and rustls-tls
        - rust: stable
          env: FEATURES="--features rustls-tls"

        # default-tls, rustls, and socks!
        - rust: stable
          env: FEATURES="--features rustls-tls,socks"

        - rust: stable
          env: FEATURES="--features hyper-011"

        - rust: stable
          env: FEATURES="--features trust-dns"

        # android
        - rust: stable
          env: TARGET=aarch64-linux-android
          before_install:
            - wget https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip;
            - unzip -qq android-ndk*.zip;
            - android-ndk*/build/tools/make_standalone_toolchain.py --arch arm64 --api 21 --install-dir /tmp/android-toolchain;
            - export PATH=/tmp/android-toolchain/bin:$PATH;
          install: rustup target add "$TARGET"
          # disable default-tls feature since cross-compiling openssl is dragons
          script: cargo build --target "$TARGET" --no-default-features

        # minimum version
        - rust: 1.36.0
          script: cargo build

sudo: false
dist: trusty

env:
  global:
    - REQWEST_TEST_BODY_FULL=1

script:
  - cargo build $FEATURES
  - cargo test -v $FEATURES -- --test-threads=1