usbd-human-interface-device 0.6.0

Batteries included embedded USB HID library for usb-device. Includes concrete Keyboard (boot and NKRO), Mouse, Joystick and Consumer Control implementations as well as support for building your own HID classes.
Documentation
on: [push, pull_request]

name: Lib build

jobs:
  check_format_build:
    name: Lib - Check, Format, Build
    runs-on: ubuntu-latest
    steps:
      #Checkout source
      - name: Checkout sources
        uses: actions/checkout@v3
      #toolchain and tools
      - name: Install stable toolchain
        uses: dtolnay/rust-toolchain@master
        with:
          toolchain: stable
          components: rustfmt, clippy
      #build and lint
      - name: Run cargo check
        run: cargo check
      - name: Run cargo fmt
        run: cargo fmt --all -- --check
      - name: Run cargo clippy
        run: cargo clippy -- -D warnings
      - name: Run cargo clippy with log
        run: cargo clippy --features log -- -D warnings
      - name: Run cargo clippy with defmt
        run: cargo clippy --features defmt -- -D warnings
      - name: Run cargo clippy on tests
        run: cargo clippy --tests -- -D warnings
      - name: Run cargo test
        run: cargo test
      - name: Run cargo build
        run: cargo build
      - name: Run cargo build with log
        run: cargo build --features log
      - name: Run cargo build with defmt
        run: cargo build --features defmt