rosm_pbf_reader 1.0.4

A low-level Rust library for parsing OpenStreetMap data in PBF format
Documentation
name: continuous-integration

on: [push, pull_request]

env:
  RUSTFLAGS: "-Dwarnings"

jobs:
  build_and_test:
    name: Build and test
    runs-on: ubuntu-latest
    strategy:
      matrix:
        features:
          - --all-features
          - --no-default-features
    steps:
    - name: Checkout
      uses: actions/checkout@v3
    - name: Install toolchain
      uses: dtolnay/rust-toolchain@stable
      with:
        components: rustfmt
    - name: Install protoc
      run: sudo apt-get install protobuf-compiler
    - name: Check formatting
      run: cargo fmt --all -- --check
    - name: Check
      run: cargo check ${{ matrix.features }}
    - name: Build
      run: cargo build ${{ matrix.features }}
    - name: Test
      run: cargo test ${{ matrix.features }}
    - name: Clippy
      run: cargo clippy --all-targets --all-features