Mark stream-only fields as such. #212
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Build and run tests | |
jobs: | |
build_and_test: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
rust: | |
- stable | |
- beta | |
- nightly | |
- 1.65.0 # MSRV | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
env: | |
RUSTFLAGS: "-D warnings" | |
CARGO_UNSTABLE_SPARSE_REGISTRY: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust }} | |
- name: Build with default features | |
run: cargo build --verbose | |
- name: Tests with default features | |
run: cargo test --verbose | |
- name: Build with all features | |
run: cargo build --all-features --verbose | |
- name: Tests with all features | |
run: cargo test --all-features --verbose |