kmp 0.1.1

Various functions using the Knuth–Morris–Pratt algorithm to efficiently find patterns.
Documentation
.report_template:
  stage: report
  variables:
    TARGET: "x86_64-unknown-linux-gnu"
    RESTORE_CACHE: "1"
  allow_failure: true
  dependencies:
    - x86_64-unknown-linux-gnu

report-coverage:
  extends: .report_template
  tags:
    - unconfined
  coverage: '/\d+.\d+\% coverage/'
  script:
    - cargo kcov --verbose -- --include-path=$PWD/src --exclude-region="mod tests"
    - echo "$(jq -r .percent_covered < target/cov/kcov-merged/coverage.json)% coverage"
  artifacts:
    paths:
      - target/cov

report-outdated:
  extends: .report_template
  script:
    - cargo outdated

report-audit:
  extends: .report_template
  script:
    - cargo audit

report-geiger:
  extends: .report_template
  script:
    - cargo geiger

report-clippy:
  extends: .report_template
  allow_failure: false
  script:
    - cargo clippy --all --all-targets