simd-json 0.13.0

High performance JSON parser based on a port of simdjson
Documentation
name: Quality

on:
  pull_request:
  push:
    branches:
      - main


jobs:
  clippy_check:
    strategy:
      matrix:
        rustflags:
          - "-C target-cpu=native"
          - "-C target-cpu=native -C target-feature=-avx2"
          - "-C target-cpu=native -C target-feature=-avx2,-pclmulqdq"
        features:
          - '--no-default-features'
          - ''
          - '--features value-no-dup-keys'
          - '--features known-key'
          - '--features 128bit'
          - '--features beef'
          - '--features beef,known-key'
          - '--features beef,known-key,128bit'
          - '--features approx-number-parsing'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - uses: dtolnay/rust-toolchain@1.72 # do clippy chekcs with the minimum supported version
        with:
          components: rustfmt, clippy

      - name: Validate cargo format
        run: cargo fmt -- --check

      - name: Run clippy manually without annotations
        env:
          RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}"
        run: cargo clippy --all ${{ matrix.features }}