invocation-counter 1.0.0

Datastructure to answer to: how many times a function has been called in the last X minutes?
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
    - name: Set up cargo cache
      uses: actions/cache@v3
      continue-on-error: false
      with:
        path: |
          ~/.cargo/bin/
          ~/.cargo/registry/index/
          ~/.cargo/registry/cache/
          ~/.cargo/git/db/
          target/
        key: cargo-${{ hashFiles('**/Cargo.lock') }}
        restore-keys: cargo-
    - name: Check & Fmt & Clippy
      run: |
        cargo check
        cargo fmt
        cargo clippy
    - name: Test
      run: |
        cargo test
    - name: Build
      run: |
        cargo build
        cargo build --release