anchorhash 0.2.0

A consistent hashing algorithm that outperforms state-of-the-art algorithms.
Documentation
# pre-commit configuration
#
# Uses https://pre-commit.com/
#
# Install with:
#   pre-commit install -t pre-commit
#   pre-commit install -t pre-push
#   pre-commit install -t commit-msg
#
# Requires:
#   - rust (cargo & clippy in path)
#   - https://github.com/commitizen-tools/commitizen
#
# To run manually:
#   pre-commit run --all

repos:
  - repo: https://github.com/domodwyer/pre-commit
    rev: v3.3.0
    hooks:
      - id: rust-check
        stages: [commit, push]

      - id: rust-clippy
        stages: [commit, push]

      - id: rust-test
        stages: [commit, push]

      - id: rust-fmt
        stages: [commit, push]

  - repo: https://github.com/commitizen-tools/commitizen
    rev: v2.16.0
    hooks:
      - id: commitizen
        stages: [commit-msg]
  
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.4.0
    hooks:
      - id: check-executables-have-shebangs
        stages: [commit, manual]
      - id: check-json
        stages: [commit, manual]
      - id: check-yaml
        args: ["--allow-multiple-documents"]
        stages: [commit, manual]
      - id: check-merge-conflict
        stages: [commit, manual]
      - id: mixed-line-ending
        args: ["--fix=no"]
        stages: [commit, manual]