ldpc-toolbox 0.12.0

Utilities to aid in LDPC code design
Documentation
name: Rust

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
    # this is intended as a temporary workaround, since ubuntu-latest has
    # rust 1.84 and we need 1.85 for the 2024 edition
    - name: Update Rust
      run: rustup update
    - name: Format
      run: cargo fmt --all -- --check
    - name: Clippy
      run: cargo clippy --all-targets --verbose -- -D warnings
    - name: Build
      run: cargo build --all-targets --verbose
    - name: Run tests
      run: cargo test --all-targets --verbose