Make use of NLL to clean up handshaking logic (#576)

This commit is contained in:
Anthony Ramine
2022-01-26 11:18:28 +01:00
committed by GitHub
parent 7de2ccc1a3
commit 556447c130
2 changed files with 85 additions and 93 deletions

View File

@@ -83,3 +83,32 @@ jobs:
- name: Check minimal versions
run: cargo clean; cargo update -Zminimal-versions; cargo check
if: matrix.rust == 'nightly'
msrv:
name: Check MSRV (${{ matrix.rust }})
needs: [style]
strategy:
matrix:
rust:
- 1.46 # never go past Hyper's own MSRV
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Rust (${{ matrix.rust }})
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Check
uses: actions-rs/cargo@v1
with:
command: check