iof 0.5.0

Read from and write data to console or file in simple formats.
Documentation
name: Criterion.rs with Benchmark Action
on:
  push:
    branches:
      - main
  schedule:
    - cron: "0 0 */14 * *" # Run benchmarks every 14 days at midnight.

permissions:
  checks: write
  contents: write
  deployments: write

jobs:
  benchmark:
    name: Run Criterion.rs benchmarks
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
      fail-fast: false
    runs-on: ${{ matrix.os }}
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4
      - name: Install Rust Toolchain
        id: toolchain
        uses: dtolnay/rust-toolchain@v1
        with:
          toolchain: "nightly"
      - uses: bencherdev/bencher@main
      - name: Prepare for benchmark
        run: cargo run --example benchmark_integers --release
      - name: View benchmark list
        run: cargo bench -- --list
      - name: Run benchmarks with Criterion.rs
        run: cargo bench
        if: matrix.os == 'windows-latest'
      - name: Track base branch benchmarks with Bencher
        run: bencher run --project iof --token '${{ secrets.BENCHER_API_TOKEN }}' --branch main --testbed '${{ matrix.os }}' --threshold-measure latency --threshold-test t_test --threshold-max-sample-size 64 --threshold-upper-boundary "0.99" --thresholds-reset --adapter rust_criterion --github-actions '${{ secrets.GITHUB_TOKEN }}' "cargo bench"