crossfire 3.1.10

channels for async and threads
Documentation
name: fast-validation

on:
  push:
    branches: [ "master" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build_and_test:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Build with default
      run: cargo build --verbose

    - name: Clippy with default
      run: cargo clippy -- -D warnings

    - name: Build with tokio
      run: cargo build -F tokio --verbose

    - name: Build with async_std
      run: cargo build -F async_std --verbose

    - name: doc test & internal test
      run: cargo test

    - name: doc build
      run: cargo doc --all-features

    - name: Run basic tests with tokio
      run: make test basic

    - name: Run timeout tests with async_std
      run: make test_async_std timeout