rustyline 8.0.0

Rustyline, a readline implementation based on Antirez's Linenoise
Documentation
name: Rust

on:
  push:
    branches: [master]
    paths:
      - '**.rs'
      - '**.toml'
      - '.github/workflows/rust.yml'
  pull_request:
    paths:
      - '**.rs'
      - '**.toml'
      - '.github/workflows/rust.yml'

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest]

    steps:
    - uses: actions/checkout@v2
    - uses: actions-rs/toolchain@v1
      with:
        default: true
        profile: minimal
        toolchain: stable
        override: true
    - name: Build
      run: cargo build --workspace --all-targets
    - name: Run tests
      run: cargo test --workspace --all-targets
    - name: Run doctests
      run: cargo test --workspace --doc
    - name: Test features
      if: matrix.os != 'windows-latest'
      run: cargo test --workspace --all-targets --all-features

    env:
      RUST_BACKTRACE: 1