mutnet 0.7.0

Unsafe-free and allocation-free, no-std network protocol parsing and in-place manipulation library.
Documentation
name: tests
on: [ push, pull_request ]

jobs:
  tests_nightly:
    name: tests, fmt & clippy @nightly
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@master
        with:
          toolchain: nightly
          components: rustfmt, clippy
      - name: doc tests
        run: cargo test --doc
      - name: tests
        run: cargo test --tests
      - name: fmt
        run: cargo fmt --all -- --check
      - name: clippy
        run: cargo clippy --all-targets -- --deny warnings
      - name: Check semver
        uses: obi1kenobi/cargo-semver-checks-action@v2
  tests_1_77:
    name: tests, fmt & clippy @ 1.81.0
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@master
        with:
          toolchain: 1.81.0
          components: rustfmt, clippy
      - name: doc tests
        run: cargo test --doc
      - name: tests
        run: cargo test --tests
      - name: fmt
        run: cargo fmt --all -- --check
      - name: clippy
        run: cargo clippy --all-targets -- --deny warnings
  semver-check:
    name: semver check
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Check semver
        uses: obi1kenobi/cargo-semver-checks-action@v2
  kani-compile-check:
    name: Kani compile check
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: model-checking/kani-github-action@v1.0
        with:
          kani-version: latest
          args: --all-features --only-codegen